@charset "UTF-8";
/*!    
 Description:    Styles for dynamic Cookies
 Author:         Christer Lindgren
 Version:        0.6
*/
.dccsp-wrap {
  max-width: 800px;
  margin-bottom: 2rem;
}
.dccsp-wrap section.cookie-category {
  margin-bottom: 1rem;
}
.dccsp-wrap h1 {
  font-size: 3rem !important;
  margin-bottom: 1rem;
  line-height: 1.1 !important;
  margin-top: 5rem;
}
.dccsp-wrap h2 {
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5rem !important;
}
.dccsp-wrap .dccsp_extras {
  padding: 1em;
  background-color: #f9f9f9;
  border-radius: 0.5rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-category {
  margin-bottom: 1.5rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-category h2 {
  margin-top: 0;
  font-size: 1rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-category p {
  margin: 0.5rem 0 !important;
  color: #333;
}
.dccsp-wrap .dccsp-cookies-list .cookie-category .inactive-note {
  font-style: italic;
  color: #777;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 0.5rem;
  transition: opacity 0.2s;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service.inactive {
  opacity: 0.6;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .name {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .title {
  font-size: 1rem !important;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .description {
  margin: 0.5rem 0 1rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .badge {
  padding: 0.1rem 0.4rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .badge.active {
  background: #4caf50;
  color: white;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .badge.inactive {
  background: #ccc;
  color: #333;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .cookies {
  margin-top: 1rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .cookies .title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .cookies .description {
  font-size: 0.9rem;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .cookies .description .purpose {
  font-style: italic;
}
.dccsp-wrap .dccsp-cookies-list .cookie-service .cookies .description .time {
  margin-left: 0.5rem;
  color: #666;
}

.dccsp_cookie_settings {
  position: fixed;
  width: 40px;
  height: 40px;
  left: 20px;
  bottom: 20px;
  z-index: 100000;
}
.dccsp_cookie_settings a {
  position: absolute;
  width: 100%;
  height: 100%;
  text-indent: -999px;
}
.dccsp_cookie_settings:before {
  position: absolute;
  content: " ";
  width: 100%;
  height: 100%;
  background-image: url("../images/cookie-settings.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

#dccsp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
#dccsp-overlay.dccsp_show {
  display: flex;
}
#dccsp-overlay .dccsp-container {
  background: #fff;
  color: #000;
  padding: 30px;
  border-radius: 0.5em;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
#dccsp-overlay .dccsp-container h2 {
  margin-top: 0;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  background-color: white;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:checked {
  background-color: #4CAF50;
  border-color: #4CAF50;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:checked::after {
  content: "✔";
  position: absolute;
  top: 0;
  left: 2px;
  color: white;
  font-size: 16px;
  line-height: 16px;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:disabled {
  cursor: not-allowed;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:disabled::after {
  color: #ccc;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:disabled:checked {
  background-color: #999;
  border-color: #999;
}
#dccsp-overlay .dccsp-container form#dccsp-form input[type=checkbox]:disabled:checked::after {
  color: #eee;
}
#dccsp-overlay .dccsp-container form#dccsp-form .dccsp-cat {
  margin-bottom: 15px;
}
#dccsp-overlay .dccsp-container form#dccsp-form .dccsp-cat label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: bold;
  font-size: 1.3rem !important;
}
#dccsp-overlay .dccsp-container form#dccsp-form .dccsp-cat p {
  margin-left: 1.5rem;
  font-size: 1rem !important;
}
#dccsp-overlay .dccsp-container form#dccsp-form .form-actions {
  text-align: right;
  margin-top: 2rem;
}
#dccsp-overlay .dccsp-container form#dccsp-form .form-actions button {
  background: #666;
  color: white;
  border: none;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-size: 1.1rem;
  cursor: pointer;
}
#dccsp-overlay .dccsp-container form#dccsp-form .form-actions button:hover {
  background: #4d4d4d;
}

#dccsp-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: #000;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 99998;
  max-width: 300px;
  font-size: 1rem;
  line-height: 1.3rem;
  display: none;
}
#dccsp-banner.dccsp_show {
  display: block;
}
#dccsp-banner .dccsp-banner-text {
  padding-bottom: 1rem;
}
#dccsp-banner .dccsp-buttons {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}
#dccsp-banner .dccsp-buttons button {
  background: #666;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}
#dccsp-banner .dccsp-buttons button:hover {
  background: #444;
}
#dccsp-banner .dccsp-buttons button.secondary {
  background: #e0e0e0;
  color: #000;
}
#dccsp-banner .dccsp-buttons button.secondary:hover {
  background: ccc;
}

.dccsp-cookie-footer-link {
  margin-top: 3rem;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9em;
}

.dccsp-cookie-footer-link a {
  color: #666;
  text-decoration: underline;
}

.dccsp-cookie-footer-link a:hover {
  color: #000;
}

/* Dölj innehållet i cookie-listan tills hydrering är klar */
[data-dccsp-policy] .cookie-service {
  visibility: hidden;
}

/* När JS har satt .hydrated på wrappen blir de synliga */
[data-dccsp-policy].hydrated .cookie-service {
  visibility: visible;
}/*# sourceMappingURL=dynamic-cookie-csp.css.map */