/* Ce Cookie Banner & Modal Styles */
.ce-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 580px;
  background: rgba(10, 13, 24, 0.94);
  border: 1px solid rgba(237, 74, 53, 0.4);
  border-radius: 0 !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(237, 74, 53, 0.25);
  padding: 24px 28px;
  color: #ffffff;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  z-index: 999999;
  display: none;
  animation: ceSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ceSlideUp {
  from { opacity: 0; transform: translate(-50%, 40px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.ce-cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ce-cookie-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.ce-cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0 0 20px;
}

.ce-cookie-text a {
  color: #ED4A35;
  text-decoration: underline;
}

.ce-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ce-btn-accept {
  flex: 1 1 auto;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ED4A35 0%, #ff6b54 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  border-radius: 0 !important;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(237, 74, 53, 0.4);
  transition: all 0.2s ease;
  text-align: center;
}

.ce-btn-accept:hover {
  background: linear-gradient(135deg, #ff5c47 0%, #ff8370 100%);
  box-shadow: 0 6px 20px rgba(237, 74, 53, 0.6);
}

.ce-btn-reject {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ce-btn-reject:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.ce-btn-config {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s ease;
}

.ce-btn-config:hover {
  color: #ED4A35;
}

/* Modal Window */
.ce-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ce-cookie-modal {
  width: 100%;
  max-width: 520px;
  background: #0d0f1b;
  border: 1px solid rgba(237, 74, 53, 0.4);
  border-radius: 0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  padding: 28px 30px;
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
}

.ce-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.ce-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.ce-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
}

.ce-cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ce-option-info h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.ce-option-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Switch styling */
.ce-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.ce-switch input { opacity: 0; width: 0; height: 0; }
.ce-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
}
.ce-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}
input:checked + .ce-slider { background-color: #ED4A35; }
input:disabled + .ce-slider { opacity: 0.5; cursor: not-allowed; }
input:checked + .ce-slider:before { transform: translateX(20px); }
