/**
 * Cookie Consent Banner Styles
 * Positioned at TOP of page (geo-banner is at BOTTOM)
 */

.sv-cookie-consent-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: #ffffff;
  z-index: 99999; /* Above everything including geo-banner (9994) */
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

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

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

.sv-cookie-consent-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}

.sv-cookie-icon {
  flex-shrink: 0;
  color: #fbbf24;
  width: 28px;
  height: 28px;
}

.sv-cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e5e7eb;
}

.sv-cookie-consent-text a {
  color: #60a5fa;
  text-decoration: underline;
  transition: color 0.2s;
}

.sv-cookie-consent-text a:hover {
  color: #93c5fd;
}

.sv-cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.sv-cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sv-cookie-btn-accept {
  background: #10b981;
  color: #ffffff;
}

.sv-cookie-btn-accept:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.sv-cookie-btn-reject {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

.sv-cookie-btn-reject:hover {
  background: #374151;
  border-color: #6b7280;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .sv-cookie-consent-banner {
    padding: 14px 16px;
  }

  .sv-cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sv-cookie-consent-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: auto;
  }

  .sv-cookie-consent-text p {
    font-size: 13px;
  }

  .sv-cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }

  .sv-cookie-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Small mobile (iPhone SE, etc) */
@media (max-width: 375px) {
  .sv-cookie-consent-text p {
    font-size: 12px;
  }

  .sv-cookie-icon {
    width: 24px;
    height: 24px;
  }
}

/* Accessibility */
.sv-cookie-btn:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

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