/* Cookie Consent Popup Styling */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(12, 17, 62, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(57, 137, 125, 0.3);
  border-radius: 12px;
  max-width: 350px;
  width: calc(100vw - 40px);
  transform: translateX(calc(100% + 20px));
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateX(0);
}

.cookie-consent-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-text h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #39897d;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #e2e8f0;
}

.cookie-consent-text a {
  color: #39897d;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #ffffff;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  justify-content: space-between;
}

.cookie-consent-buttons-expanded {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.cookie-buttons-row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.cookie-decline-full {
  width: 100%;
  text-align: center;
}

.cookie-consent-button {
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  flex: 1;
  min-width: 85px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cookie-accept {
  background: #39897d;
  color: white;
}

.cookie-accept:hover {
  background: #2d6b5f;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(57, 137, 125, 0.3);
}

.cookie-decline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #64748b;
}

.cookie-decline:hover {
  background: #64748b;
  color: white;
}

.cookie-options {
  background: #0c113e;
  color: white;
}

.cookie-options:hover {
  background: #1e1b4b;
  transform: translateY(-1px);
}

.cookie-save {
  background: #39897d;
  color: white;
}

.cookie-save:hover {
  background: #2d6b5f;
  transform: translateY(-1px);
}

.cookie-back {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #64748b;
}

.cookie-back:hover {
  background: #64748b;
  color: white;
}

/* Cookie Categories Styling */
.cookie-categories {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-category {
  margin-bottom: 0.75rem;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.cookie-category-label input[disabled] {
  cursor: not-allowed;
}

.cookie-checkbox {
  margin-right: 0.5rem;
  accent-color: #39897d;
}

.cookie-category-name {
  margin-right: 0.5rem;
}

.cookie-category-required {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
}

.cookie-category-desc {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.3;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-consent {
    bottom: 15px;
    right: 15px;
    padding: 1rem;
    max-width: 320px;
    width: calc(100vw - 30px);
  }
  
  .cookie-consent-container {
    gap: 0.75rem;
  }
  
  .cookie-consent-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .cookie-consent-text p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .cookie-categories {
    margin: 0.75rem 0;
    padding: 0.75rem;
  }
  
  .cookie-category-label {
    font-size: 0.8rem;
  }
  
  .cookie-category-desc {
    font-size: 0.7rem;
    padding-left: 1rem;
  }
  
  .cookie-consent-buttons {
    gap: 0.5rem;
  }
  
  .cookie-consent-buttons-expanded {
    gap: 0.4rem;
    margin-top: 0.4rem;
  }
  
  .cookie-buttons-row {
    gap: 0.5rem;
  }
  
  .cookie-consent-button {
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
    min-width: 60px;
  }
  
  .cookie-decline-full {
    font-size: 0.65rem;
    padding: 0.5rem 0.3rem;
  }
}
