/* Cookie Consent Banner and Modal Styles */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #040C58;
  color: #ffffff;
  padding: 15px 20px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner-content {
  flex: 1;
  margin-right: 20px;
}

.cookie-consent-banner-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-consent-banner-text {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-btn {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  border: none;
  transition: background-color 0.2s;
}

.cookie-consent-btn-accept-all {
  background-color: #ffffff;
  color: #040C58;
}

.cookie-consent-btn-accept-all:hover {
  background-color: #f0f0f0;
}

.cookie-consent-btn-reject {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cookie-consent-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn-preferences {
  background-color: transparent;
  color: #ffffff;
  text-decoration: underline;
}

.cookie-consent-btn-preferences:hover {
  text-decoration: none;
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  display: none;
}

.cookie-preferences-content {
  background-color: #ffffff;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-preferences-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-preferences-title {
  font-size: 20px;
  font-weight: bold;
  color: #040C58;
}

.cookie-preferences-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.cookie-category {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-title {
  font-weight: bold;
  color: #040C58;
}

.cookie-category-description {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  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: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #040C58;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(20px);
}

.cookie-preferences-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.cookie-preferences-btn {
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  border: none;
  transition: background-color 0.2s;
}

.cookie-preferences-btn-save {
  background-color: #040C58;
  color: #ffffff;
}

.cookie-preferences-btn-save:hover {
  background-color: #030A42;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-consent-banner-buttons {
    margin-top: 15px;
    width: 100%;
    justify-content: space-between;
  }
} 