

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1C3557;
  color: #FFFFFF;
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  display: none;
  max-height: 220px;
  overflow-y: auto;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text-section { flex: 1 1 300px; min-width: 250px; }

.cookie-banner__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__link {
  color: #F5821F;
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner__link:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
}

.cookie-banner__btn {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cookie-banner__btn--accept {
  background: #F5821F;
  color: #FFFFFF;
}

.cookie-banner__btn--accept:hover {
  background: #E66E0A;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--reject:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.cookie-banner__btn--customize {
  background: transparent;
  color: #F5821F;
  border: 1px solid #F5821F;
}

.cookie-banner__btn--customize:hover {
  background: rgba(245, 130, 31, 0.1);
}

.cookie-customize-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-customize-panel__inner {
  background: #FFFFFF;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cookie-customize-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  background: #F7F8FA;
}

.cookie-customize-panel__header h3 {
  font-size: 1.2rem;
  color: #1C3557;
  margin: 0;
}

.cookie-customize-panel__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cookie-customize-panel__close:hover {
  background: #E5E7EB;
  color: #1C3557;
}

.cookie-customize-panel__options {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #F5821F;
  flex-shrink: 0;
}

.cookie-option input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-option label {
  cursor: pointer;
  flex: 1;
}

.cookie-option label strong {
  display: block;
  color: #1C3557;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cookie-option label span {
  display: block;
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.4;
}

.cookie-customize-panel__actions {
  padding: 1.5rem;
  border-top: 1px solid #E5E7EB;
  display: flex;
  gap: 0.75rem;
}

.cookie-customize-panel__actions button {
  flex: 1;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
  .cookie-banner {
    max-height: none;
    padding: 1.25rem;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner__text-section { min-width: auto; }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    min-width: 100px;
  }
}
