/* Cookie Consent Banner Styles */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  display: none;
}

.cookie-consent-overlay.show {
  display: block;
}

.cookie-consent-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  max-width: 640px;
  width: 90%;
  padding: 32px 36px 24px;
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cookie-consent-banner.show {
  display: block;
}

.cookie-consent-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #222;
  line-height: 1;
  padding: 4px;
}

.cookie-consent-close:hover {
  color: #000;
}

.cookie-consent-logo {
  margin-bottom: 16px;
}

.cookie-consent-logo img {
  height: 40px;
  width: auto;
}

.cookie-consent-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.cookie-consent-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 16px 0;
}

.cookie-consent-links {
  margin-bottom: 20px;
}

.cookie-consent-links a {
  font-size: 13px;
  color: #333;
  text-decoration: underline;
  margin-right: 16px;
}

.cookie-consent-links a:hover {
  color: #000;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent-buttons button {
  flex: 1;
  min-width: 140px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-consent-btn-info {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.cookie-consent-btn-info:hover {
  background: #f5f5f5;
}

.cookie-consent-btn-deny {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.cookie-consent-btn-deny:hover {
  background: #f5f5f5;
}

.cookie-consent-btn-accept {
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #1a1a1a;
}

.cookie-consent-btn-accept:hover {
  background: #333;
}

.cookie-consent-powered {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: #888;
}

.cookie-consent-powered a {
  color: #888;
  text-decoration: underline;
}

/* Detail panel (More Information) */
.cookie-consent-detail {
  display: none;
  margin-top: 16px;
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}

.cookie-consent-detail.show {
  display: block;
}

.cookie-consent-detail-section {
  margin-bottom: 14px;
}

.cookie-consent-detail-section label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
}

.cookie-consent-detail-section p {
  font-size: 12.5px;
  color: #555;
  margin: 6px 0 0 0;
  line-height: 1.5;
}

.cookie-consent-toggle {
  position: relative;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-consent-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 22px;
  transition: 0.3s;
}

.cookie-consent-toggle .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-consent-toggle input:checked + .slider {
  background-color: #1a1a1a;
}

.cookie-consent-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

.cookie-consent-toggle input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 576px) {
  .cookie-consent-banner {
    padding: 24px 20px 18px;
    width: 95%;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
  }
  
  .cookie-consent-buttons button {
    width: 100%;
  }
}
