.glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--aq-shadow);
}

.aqwa-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.aqwa-logo__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.4));
}

.aqwa-logo__word {
  font-family: var(--aq-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  background: var(--aq-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aqwa-btn {
  --btn-pad-y: 0.9rem;
  --btn-pad-x: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--aq-ease), box-shadow 0.35s var(--aq-ease), background 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  white-space: nowrap;
}

.aqwa-btn span {
  pointer-events: none;
}

.aqwa-btn--primary {
  color: #041018;
  background: var(--aq-grad);
  box-shadow: var(--aq-glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.aqwa-btn--primary:hover,
.aqwa-btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 64px rgba(34, 211, 238, 0.4), 0 12px 30px rgba(59, 130, 246, 0.25);
}

.aqwa-btn--ghost {
  color: var(--aq-text);
  background: transparent;
  border-color: var(--aq-border-strong);
}

.aqwa-btn--ghost:hover,
.aqwa-btn--ghost:focus-visible {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

.aqwa-btn--glass {
  background: var(--aq-surface);
  border-color: var(--aq-border);
  backdrop-filter: blur(12px);
}

.aqwa-btn--sm {
  --btn-pad-y: 0.65rem;
  --btn-pad-x: 1.05rem;
  font-size: 0.85rem;
}

.aqwa-btn--lg {
  --btn-pad-y: 1.05rem;
  --btn-pad-x: 1.6rem;
  font-size: 1.02rem;
}

.aqwa-btn--block {
  width: 100%;
}

.aqwa-btn:focus-visible {
  outline: 2px solid var(--aq-cyan);
  outline-offset: 3px;
}

.aqwa-icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  color: var(--aq-cyan);
  background: var(--aq-grad-soft);
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.aqwa-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.aqwa-field label {
  font-size: 0.85rem;
  color: var(--aq-text-muted);
  font-weight: 550;
}

.aqwa-field input,
.aqwa-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--aq-border);
  background: rgba(5, 6, 15, 0.55);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.aqwa-field input:focus,
.aqwa-field select:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.aqwa-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--aq-text-muted) 50%),
    linear-gradient(135deg, var(--aq-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 2.4rem;
}

/* Custom dark select — matches AQWA glass UI */
.aqwa-select {
  position: relative;
}

.aqwa-select select[data-aqwa-select-native] {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.aqwa-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--aq-border);
  background: rgba(5, 6, 15, 0.55);
  color: var(--aq-text);
  cursor: pointer;
  text-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.aqwa-select__trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aqwa-select__trigger.is-placeholder span {
  color: var(--aq-text-faint);
}

.aqwa-select__chevron {
  flex: 0 0 auto;
  color: var(--aq-cyan);
  opacity: 0.85;
  transition: transform 0.25s var(--aq-ease);
}

.aqwa-select.is-open .aqwa-select__chevron {
  transform: rotate(180deg);
}

.aqwa-select__trigger:hover,
.aqwa-select__trigger:focus-visible,
.aqwa-select.is-open .aqwa-select__trigger {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  background: rgba(8, 12, 28, 0.72);
}

.aqwa-select__menu {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 0.45rem);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(7, 10, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 28px rgba(59, 130, 246, 0.12);
}

.aqwa-select__option {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: var(--aq-text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.aqwa-select__option:hover,
.aqwa-select__option:focus-visible,
.aqwa-select__option.is-active {
  outline: none;
  color: var(--aq-text);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.14));
}

.aqwa-select__option[aria-selected="true"] {
  color: var(--aq-cyan);
  background: rgba(34, 211, 238, 0.1);
}
