/* ============================================
   AWA — COMPONENTS CSS
   Buttons, Forms, Alerts, Lightbox etc.
   ============================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 12px 24px;
  font-size: 16px;
}
.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
  height: 51px;
  width: auto;
  min-width: 185px;
}
.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn--sm {
  padding: 8px 20px;
}

/* Button Loading State */
.btn__loading {
  margin-left: 8px;
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --- Forms --- */
.input-text,
input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 0;
  transition: border-color 0.2s;
}
.input-text:focus,
input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: var(--color-black);
  outline: 2px solid rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* Lightbox (Vanilla JS) */
.awa-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.awa-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.awa-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.awa-lightbox__img {
  max-height: 90vh;
  object-fit: contain;
}
.awa-lightbox__close {
  position: absolute;
  top: -40px;
  right: -40px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}
@media (max-width: 768px) {
  .awa-lightbox__close {
    top: -40px;
    right: 0;
  }
}

/* --- Newsletter Messages --- */
.newsletter__msg {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 16px;
  text-align: center;
}
.newsletter__msg--success {
  color: #166534 !important; /* Premium Dark Green */
  font-weight: 500;
}
.newsletter__msg--error {
  color: #991b1b;
}

