/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 20, 51, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid #64D88E;
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-consent-text {
  flex: 1;
  color: #e6e6e6;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent-text h4 {
  color: #64D88E;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-consent-text p {
  margin: 0;
}

.cookie-consent-text a {
  color: #64D88E;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #64D88E;
  color: #0a1433;
  border-color: #64D88E;
}

.cookie-btn-accept:hover {
  background: transparent;
  color: #64D88E;
}

.cookie-btn-decline {
  background: transparent;
  color: #e6e6e6;
  border-color: #e6e6e6;
}

.cookie-btn-decline:hover {
  background: #e6e6e6;
  color: #0a1433;
}

.cookie-btn-settings {
  background: transparent;
  color: #64D88E;
  border-color: #64D88E;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.cookie-btn-settings:hover {
  background: rgba(100, 216, 142, 0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background: #0a1433;
  border: 2px solid #64D88E;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 216, 142, 0.3);
}

.cookie-settings-title {
  color: #64D88E;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.cookie-settings-close {
  background: none;
  border: none;
  color: #e6e6e6;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.cookie-settings-close:hover {
  background: rgba(100, 216, 142, 0.1);
  color: #64D88E;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(100, 216, 142, 0.2);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

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

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #666;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #64D88E;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background-color: #64D88E;
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-category-description {
  color: #e6e6e6;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 216, 142, 0.3);
}

/* Cookie Settings Link in Footer */
.cookie-settings-link {
  color: #64D88E;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1rem;
}

.cookie-settings-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-settings-modal {
    padding: 1rem;
  }
  
  .cookie-settings-content {
    padding: 1.5rem;
  }
  
  .cookie-settings-actions {
    flex-direction: column;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-consent-actions {
    gap: 0.5rem;
  }
  
  .cookie-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}
