.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark);
  color: var(--white);
  padding: 15px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

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

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-text {
  margin-right: 20px;
}

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

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #e0a829;
}

.cookie-btn-settings {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-btn-settings:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-necessary {
  background-color: transparent;
  border: 1px solid #999;
  color: #999;
}

.cookie-btn-necessary:hover {
  border-color: white;
  color: white;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #777;
}

.cookie-modal-body {
  padding: 20px;
}

.cookie-preference {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cookie-preference:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-preference-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-preference-title {
  font-weight: 600;
  margin: 0;
}

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

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

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

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

input:checked + .cookie-slider {
  background-color: var(--primary);
}

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

.cookie-preference-desc {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.cookie-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-modal-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-modal-btn-save {
  background-color: var(--primary);
  color: white;
}

.cookie-modal-btn-save:hover {
  background-color: #e0a829;
}

.cookie-modal-btn-accept {
  background-color: var(--dark);
  color: white;
}

.cookie-modal-btn-accept:hover {
  background-color: #1e2b3c;
}

@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
