/* Optional customer auth pages */

.cauth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5% 64px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 45, 120, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(120, 60, 200, 0.16), transparent 45%),
    linear-gradient(165deg, #12081f 0%, #1a0f2e 55%, #0d0818 100%);
}

.cauth-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.cauth-card-wide {
  max-width: 720px;
}

.cauth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.cauth-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: #fff;
  margin: 8px 0 6px;
}

.cauth-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cauth-optional {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 180, 210, 0.85);
}

.cauth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cauth-form label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.cauth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.95rem;
}

.cauth-form input:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.7);
}

.cauth-form .btn-primary {
  width: 100%;
  margin-top: 6px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.cauth-error,
.cauth-info {
  font-size: 0.88rem;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.4;
}

.cauth-error {
  background: rgba(220, 40, 80, 0.18);
  color: #ffb4c8;
  border: 1px solid rgba(255, 80, 120, 0.35);
}

.cauth-info {
  background: rgba(80, 180, 120, 0.15);
  color: #b8f0d0;
  border: 1px solid rgba(100, 200, 140, 0.3);
}

.cauth-links {
  margin-top: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.cauth-links a {
  color: var(--rose-light, #ff7aa8);
}

.cauth-account-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.cauth-account-bar strong {
  color: #fff;
}

.cauth-site-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cauth-site-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cauth-site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 6px;
}

.cauth-site-meta,
.cauth-site-status {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.cauth-site-status {
  margin-top: 4px;
}

.cauth-site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cauth-site-actions .btn-primary,
.cauth-site-actions .btn-secondary {
  text-decoration: none;
  white-space: nowrap;
}

.cauth-empty {
  text-align: center;
  padding: 28px 12px;
  color: rgba(255, 255, 255, 0.65);
}

.cauth-empty a {
  color: var(--rose-light, #ff7aa8);
}

.mnav-account {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.mnav-account:hover {
  color: #fff;
  border-color: rgba(255, 45, 120, 0.5);
}

@media (max-width: 640px) {
  .cauth-card {
    padding: 28px 20px;
  }

  .cauth-site-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cauth-site-open {
    width: 100%;
    text-align: center;
  }
}
