/**
 * Cookie Consent Banner Styles
 * Lya Estética - Minimalist black/white design
 */

/* Banner Container */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: 'Raleway', sans-serif;
}

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

/* Main Content */
.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Text Section */
.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #000;
}

.cookie-banner-text p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #b8860b;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: #000;
}

/* Action Buttons */
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background: #000;
  color: #fff;
}

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

.cookie-btn-reject {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.cookie-btn-reject:hover {
  background: #e5e5e5;
  border-color: #ccc;
}

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

.cookie-btn-settings:hover {
  background: #f5f5f5;
  color: #000;
}

/* Settings Panel */
.cookie-settings-panel {
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cookie-settings-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cookie-settings-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #000;
}

/* Cookie Options */
.cookie-option {
  margin-bottom: 15px;
}

.cookie-option label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #000;
  cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.cookie-option-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.cookie-option-text small {
  display: block;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

/* Settings Actions */
.cookie-settings-actions {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.cookie-btn-save {
  background: #000;
  color: #fff;
}

.cookie-btn-save:hover {
  background: #b8860b;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .cookie-banner-text {
    min-width: 100%;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .cookie-settings-content {
    padding: 15px;
  }

  .cookie-option label {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .cookie-banner-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Print - hide banner */
@media print {
  .cookie-banner {
    display: none !important;
  }
}
