/**
 * Guidee Custom Cookie Consent CSS
 * Version: 1.2.1
 * Last modified: 2026-03-26
 * DUPLICITY ANALYSIS (v1.2.1): :root removed (now in base/variables.css). Only consent-specific styles remain.
 */
#guidee-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #121212;
  color: #ffffff;
  padding: 32px 5%;
  z-index: 999999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
}
.guidee-consent-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.guidee-consent-text {
  flex: 1 1 60%;
  text-align: left;
}
.cky-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #ffffff;
}
.guidee-consent-text p {
  margin: 0;
}
.guidee-consent-text a {
  color: var(--guidee-spring-green);
  text-decoration: underline;
}
.guidee-consent-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 300px;
}
/* PRIMARY button (Accept All + Reopen) – pill shaped */
.guidee-primary-btn,
#guidee-accept-all,
#modal-accept-all,
.guidee-reopen-preferences {
  padding: 10px 30px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  min-width: 140px;
  box-sizing: border-box !important;
  border: 2px solid var(--guidee-spring-green) !important;
  background: var(--guidee-spring-green) !important;
  color: var(--guidee-charcoal) !important;
}
.guidee-primary-btn:hover,
#guidee-accept-all:hover,
#modal-accept-all:hover,
.guidee-reopen-preferences:hover,
.guidee-primary-btn:focus,
#guidee-accept-all:focus,
#modal-accept-all:focus,
.guidee-reopen-preferences:focus,
.guidee-primary-btn:active,
#guidee-accept-all:active,
#modal-accept-all:active,
.guidee-reopen-preferences:active {
  background: var(--guidee-charcoal) !important;
  color: var(--guidee-spring-green) !important;
  border: 2px solid var(--guidee-spring-green) !important;
  outline: none !important;
}
/* SECONDARY button (Customise / Save Preferences) – pill shaped */
.guidee-secondary-btn,
#guidee-manage-preferences,
#modal-save {
  padding: 10px 30px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  min-width: 140px;
  box-sizing: border-box !important;
  border: 2px solid var(--guidee-spring-green) !important;
  background: var(--guidee-charcoal) !important;
  color: var(--guidee-spring-green) !important;
}
.guidee-secondary-btn:hover,
#guidee-manage-preferences:hover,
#modal-save:hover,
.guidee-secondary-btn:focus,
#guidee-manage-preferences:focus,
#modal-save:focus,
.guidee-secondary-btn:active,
#guidee-manage-preferences:active,
#modal-save:active {
  background: var(--guidee-spring-green) !important;
  color: var(--guidee-charcoal) !important;
  border: 2px solid var(--guidee-spring-green) !important;
  outline: none !important;
}
/* TERTIARY button (Reject All) – pill shaped */
.guidee-tertiary-btn,
#guidee-reject-all,
#modal-reject-all {
  padding: 10px 30px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  min-width: 140px;
  box-sizing: border-box !important;
  border: 2px solid #6B7280 !important;
  background: #6B7280 !important;
  color: #ffffff !important;
}
.guidee-tertiary-btn:hover,
#guidee-reject-all:hover,
#modal-reject-all:hover,
.guidee-tertiary-btn:focus,
#guidee-reject-all:focus,
#modal-reject-all:focus,
.guidee-tertiary-btn:active,
#guidee-reject-all:active,
#modal-reject-all:active {
  background: #ffffff !important;
  color: #6B7280 !important;
  border: 2px solid #ffffff !important;
  outline: none !important;
}
/* Modal */
#guidee-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guidee-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.guidee-modal-content {
  background: var(--guidee-charcoal);
  color: #ffffff;
  padding: 40px 40px 20px 40px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  position: relative;
  z-index: 1;
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
#guidee-preferences-modal[style*="display: block"] .guidee-modal-content,
#guidee-preferences-modal:not([style*="display: none"]) .guidee-modal-content {
  transform: scale(1);
  opacity: 1;
}
.guidee-modal-header {
  position: relative;
  margin-bottom: 24px;
}
.guidee-modal-content h2 {
  margin: 0;
  color: var(--guidee-spring-green);
  font-size: 24px;
  font-weight: 700;
}
.guidee-modal-close {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 8px !important;
  transition: color 0.2s ease !important;
}
.guidee-modal-close:hover,
.guidee-modal-close:focus,
.guidee-modal-close:active {
  color: var(--guidee-spring-green) !important;
  background: none !important;
  outline: none !important;
}
/* Mobile modal fixes – close button no overlap, footer visible, reduced bottom space */
@media (max-width: 767px) {
  .guidee-modal-content {
    padding: 24px 16px 40px 16px !important;
    max-height: 92vh !important;
  }
  .guidee-modal-header {
    margin-bottom: 16px !important;
    padding-top: 48px !important;
  }
  .guidee-modal-close {
    top: 12px !important;
    right: 12px !important;
    font-size: 28px !important;
  }
  .guidee-modal-footer {
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }
  .guidee-modal-footer button {
    width: 100% !important;
  }
}
@media (max-width: 480px) {
  .guidee-modal-content {
    padding: 20px 12px 40px 12px !important;
  }
  .guidee-modal-header {
    padding-top: 44px !important;
  }
  .guidee-modal-close {
    top: 10px !important;
    right: 10px !important;
    font-size: 26px !important;
  }
}
/* Prevent theme red hover */
#guidee-preferences-modal button:hover,
#guidee-preferences-modal button:focus,
#guidee-preferences-modal button:active,
#guidee-preferences-modal .guidee-modal-close:hover,
#guidee-preferences-modal .guidee-modal-close:focus,
#guidee-preferences-modal .guidee-modal-close:active {
  background-color: transparent !important;
  color: var(--guidee-spring-green) !important;
}
/* Accordion */
.guidee-accordion-wrapper {
  margin: 20px 0;
}
.guidee-accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.guidee-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
}
.guidee-accordion-chevron {
  margin-right: 12px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
.guidee-accordion-header[aria-expanded="true"] .guidee-accordion-chevron i {
  color: var(--guidee-spring-green) !important;
}
.guidee-accordion-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  flex: 1;
  padding: 0;
  display: flex;
  align-items: center;
}
.guidee-always-active {
  color: var(--guidee-spring-green) !important;
  font-weight: 700;
  font-size: 14px;
  margin-left: auto;
}
.guidee-accordion-body {
  padding: 0 0 16px 28px;
  display: none;
}
.guidee-accordion-body p {
  margin: 0 0 16px 0;
  color: rgba(255,255,255,0.85);
}
/* Audit Table */
.guidee-audit-table {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}
.guidee-audit-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guidee-audit-table li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.guidee-audit-table li:last-child {
  border-bottom: none;
}
.guidee-audit-table li strong {
  flex: 1;
  font-weight: 600;
}
.guidee-audit-table li div:nth-child(2) {
  flex: 2;
  color: rgba(255,255,255,0.85);
}
/* Modal buttons */
.guidee-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.guidee-modal-footer button {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}
/* Switch styling */
.guidee-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.guidee-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.guidee-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 22px;
}
.guidee-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .guidee-slider {
  background-color: var(--guidee-spring-green);
}
input:checked + .guidee-slider:before {
  transform: translateX(18px);
}
/* Responsive – Mobile refinements */
@media (max-width: 767px) {
  #guidee-consent-banner {
    padding: 16px 5% !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .cky-title {
    font-size: 20px !important;
  }
  .guidee-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .guidee-consent-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .guidee-consent-buttons button,
  .guidee-reopen-preferences {
    min-width: 100% !important;
    min-height: 48px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
  }
  .guidee-consent-footer-link {
    left: 10px;
    bottom: 10px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .guidee-modal-footer {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .guidee-modal-footer button {
    width: 100% !important;
  }
  .guidee-modal-content {
    padding: 24px 16px 40px 16px !important;
    max-height: 92vh !important;
  }
  .guidee-modal-header {
    margin-bottom: 16px !important;
    padding-top: 40px !important;
  }
  .guidee-modal-close {
    top: 12px !important;
    right: 12px !important;
    font-size: 28px !important;
  }
}