/* Cookie Consent Modal Styles - Premium Tourism */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: #FFFFF0;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.3);
  border: 1px solid #D4AF37;
}

.cookie-modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #0d1b2a;
  margin-bottom: 12px;
}

.cookie-modal-text {
  color: #1a237e;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cookie-categories {
  margin-bottom: 24px;
}

.cookie-category {
  border: 1px solid #F7E7CE;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  background: #FFFFF8;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #0d1b2a;
  cursor: pointer;
}

.cookie-category-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: #D4AF37;
}

.cookie-category-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category-status {
  font-size: 12px;
  color: #1a237e;
  font-weight: normal;
}

.cookie-category-description {
  color: #1a237e;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cookie-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-primary {
  background: #0d1b2a;
  color: #FFFFF0;
}

.cookie-btn-primary:hover {
  background: #1a237e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.4);
}

.cookie-btn-secondary {
  background: #D4AF37;
  color: #0d1b2a;
}

.cookie-btn-secondary:hover {
  background: #c9a227;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cookie-btn-tertiary {
  background: #F7E7CE;
  color: #0d1b2a;
}

.cookie-btn-tertiary:hover {
  background: #ecd9b8;
  transform: translateY(-2px);
}

.cookie-modal-footer {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F7E7CE;
}

.cookie-policy-link {
  color: #0d1b2a;
  text-decoration: none;
  font-size: 14px;
}

.cookie-policy-link:hover {
  text-decoration: underline;
  color: #D4AF37;
}

/* Mobile Responsive - Cookie modal below header */
@media (max-width: 640px) {
  .cookie-modal {
    align-items: flex-end;
  }
  
  .cookie-modal-content {
    padding: 20px;
    max-height: 85vh;
    margin-top: 60px;
    border-radius: 16px 16px 0 0;
  }
  
  .cookie-modal-title {
    font-size: 20px;
  }
  
  .cookie-modal-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
