.domain-container .listing-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid grey;
  margin-bottom: 1rem;
  padding-bottom: 1rem; }
  .domain-container .listing-header .header-content h1 {
    margin: 0;
    /* Remove default margin to ensure proper alignment */ }
  .domain-container .listing-header .header-content .actions {
    margin-left: auto;
    /* This pushes the button to the right */ }
/*
 * Compass Authentication Theme - Centralized Styles
 * Used across all user authentication pages (login, register, OTP, passkey, terms, etc.)
 * Version: 1.0
 *
 * This CSS overrides base.css for authentication pages with dark Compass theme
 */

/* ========================================
   Base Styles - Override Light Theme
   ======================================== */

body {
    background: radial-gradient(1200px 1200px at 10% -20%, rgba(0,229,255,.07), transparent 60%),
                radial-gradient(900px 900px at 110% 20%, rgba(76,201,255,.06), transparent 60%),
                #070a13 !important;
    color: #8aa0c4 !important;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========================================
   Color Variables (for reference)
   ======================================== */
:root {
    --compass-bg-deep: #070a13;
    --compass-bg-panel: rgba(19,26,42,0.95);
    --compass-bg-panel-2: rgba(15,21,36,0.95);
    --compass-text-primary: #4cc9ff;
    --compass-text-muted: #8aa0c4;
    --compass-text-bright: #c5d4e8;
    --compass-border: rgba(76,201,255,.25);
    --compass-glow: 0 0 10px rgba(76,201,255,.55);
}

/* ========================================
   Card & Form Containers
   ======================================== */

.auth-form,
.verify-card,
.login-form,
.card {
    background: linear-gradient(180deg, rgba(19,26,42,0.95), rgba(15,21,36,0.95)) !important;
    border: 1px solid rgba(76,201,255,.25) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 40px rgba(76,201,255,.15);
}

.auth-form {
    max-width: 500px;
}

/* ========================================
   Typography
   ======================================== */

.auth-form h2,
.verify-card h3,
.login-form h2,
.card-title {
    color: #4cc9ff;
    text-shadow: 0 0 10px rgba(76,201,255,.55);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.auth-form h1 {
    font-size: 2rem;
    text-align: center;
    color: #4cc9ff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Terms page: Simple H1 for legal documents */
.terms-page .auth-form h1 {
    color: #4cc9ff;
    text-shadow: none;
    font-weight: 600;
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Terms page: Apply text styling to all content, not just <p> tags */
.terms-page .auth-form {
    color: #8aa0c4;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.terms-page .auth-form h2,
.terms-page .auth-form h3 {
    color: #4cc9ff;
}

.terms-page .auth-form strong {
    font-weight: 600;
}

.terms-page .auth-form ul,
.terms-page .auth-form ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.auth-form h2 {
    font-size: 1.5rem;
}

.auth-form h3 {
    font-size: 1.25rem;
    color: #4cc9ff;
    text-shadow: 0 0 10px rgba(76,201,255,.55);
}

.auth-form p,
.auth-form li {
    color: #8aa0c4;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.text-center p {
    color: #8aa0c4;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.text-center a {
    color: #4cc9ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.text-center a:hover {
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(76,201,255,.4);
}

/* ========================================
   Form Elements
   ======================================== */

.form-label {
    color: #4cc9ff;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-control,
.form-select {
    background: rgba(0,0,0,.2);
    color: #e9eefb;
    border: 1px solid rgba(76,201,255,.3);
    padding: 0.75rem;
    font-weight: 400;
}

.form-control:focus,
.form-select:focus {
    background: rgba(0,0,0,.4);
    border-color: #4cc9ff;
    color: #e9eefb;
    box-shadow: 0 0 0 0.2rem rgba(76,201,255,.25);
}

.form-control::placeholder {
    color: #8aa0c4;
    opacity: 0.6;
}

/* Prevent white background on autofill/paste */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,.2) inset !important;
    -webkit-text-fill-color: #e9eefb !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-select option {
    background: #131a2a;
    color: #e9eefb;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: rgba(239,68,68,.6);
}

.invalid-feedback {
    color: #fca5a5;
    font-size: 0.875rem;
}

/* ========================================
   Checkboxes & Switches
   ======================================== */

.form-check {
    background: rgba(76,201,255,.08);
    border: 1px solid rgba(76,201,255,.2);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-check-input {
    background-color: rgba(0,0,0,.3);
    border: 2px solid rgba(76,201,255,.4);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    margin-top: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: linear-gradient(135deg, #4cc9ff, #00e5ff);
    border-color: #4cc9ff;
    box-shadow: 0 0 15px rgba(76,201,255,.6), inset 0 0 5px rgba(255,255,255,.3);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #070a13;
    font-size: 1rem;
    font-weight: bold;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.3rem rgba(76,201,255,.25);
    border-color: #4cc9ff;
    outline: none;
}

.form-check-input:hover:not(:checked) {
    border-color: #4cc9ff;
    background-color: rgba(76,201,255,.15);
}

.form-check-label {
    color: #8aa0c4;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1.5;
}

.form-check-input.is-invalid {
    border-color: rgba(239,68,68,.6);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary,
.btn-auth {
    background: linear-gradient(90deg, rgba(76,201,255,.2), rgba(0,229,255,.15));
    border: 2px solid #4cc9ff;
    color: #4cc9ff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(76,201,255,.35);
    letter-spacing: 0.01em;
}

.btn-primary:hover:not(:disabled),
.btn-auth:hover:not(:disabled) {
    background: linear-gradient(90deg, rgba(76,201,255,.35), rgba(0,229,255,.25));
    border-color: #00e5ff;
    color: #00e5ff;
    box-shadow: 0 0 20px rgba(76,201,255,.55), 0 0 40px rgba(0,229,255,.25);
    transform: translateY(-2px);
}

.btn-primary:disabled,
.btn-auth:disabled {
    background: rgba(76,201,255,.08);
    border-color: rgba(76,201,255,.15);
    color: rgba(76,201,255,.4);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-resend {
    background: rgba(76,201,255,.08);
    border: 1px solid rgba(76,201,255,.2);
    color: #4cc9ff;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.65rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-resend:hover {
    background: rgba(76,201,255,.15);
    border-color: rgba(76,201,255,.4);
    color: #00e5ff;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(76,201,255,.2);
}

.btn-warning {
    background: rgba(251,146,60,.15);
    border: 1px solid rgba(251,146,60,.4);
    color: #fb923c;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.65rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: rgba(251,146,60,.25);
    border-color: #fb923c;
    color: #fb923c;
    box-shadow: 0 0 15px rgba(251,146,60,.3);
}

/* ========================================
   Alerts
   ======================================== */

.alert {
    background: rgba(236,72,153,.15);
    border: 1px solid rgba(236,72,153,.4);
    color: #fda4af;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
}

.alert-danger {
    background: rgba(239,68,68,.15);
    border-color: rgba(239,68,68,.4);
    color: #fca5a5;
}

.alert-info {
    background: rgba(76,201,255,.15);
    border-color: rgba(76,201,255,.4);
    color: #a5d8ff;
}

.alert-success {
    background: rgba(34,197,94,.15);
    border-color: rgba(34,197,94,.4);
    color: #86efac;
}

/* ========================================
   Password Requirements
   ======================================== */

.password-requirements {
    background: rgba(19,26,42,.6);
    border: 1px solid rgba(76,201,255,.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.password-requirements ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-requirements li {
    line-height: 1.6;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #8aa0c4 !important;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.password-requirements li.met {
    color: #4ade80 !important;
}

.password-requirements li::before {
    content: '✖';
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #fb923c !important;
}

.password-requirements li.met::before {
    content: '✔';
    color: #4ade80 !important;
}

/* ========================================
   OTP Inputs
   ======================================== */

.otp-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.otp-input {
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: rgba(0,0,0,.2) !important;
    color: #4cc9ff !important;
    border: 2px solid rgba(76,201,255,.3) !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.otp-input:focus {
    background: rgba(0,0,0,.4) !important;
    border-color: #4cc9ff !important;
    color: #4cc9ff !important;
    box-shadow: 0 0 0 0.2rem rgba(76,201,255,.25), 0 0 20px rgba(76,201,255,.3);
    outline: none;
}

.otp-input.is-invalid {
    border-color: rgba(239,68,68,.6) !important;
}

/* ========================================
   Status Icons & Containers
   ======================================== */

.status-container {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-container h3 {
    color: #4cc9ff;
    text-shadow: 0 0 10px rgba(76,201,255,.55);
    font-weight: 600;
}

.status-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
    color: #4cc9ff;
    text-shadow: 0 0 20px rgba(76,201,255,.6);
    line-height: 1;
}

.passkey-icon-container {
    text-align: center;
    margin: 1.5rem 0 2rem 0;
}

.passkey-icon {
    font-size: 4rem;
    color: #4cc9ff;
    text-shadow: 0 0 20px rgba(76,201,255,.6);
    display: inline-block;
}

/* Success state icons */
.bi-check-circle-fill {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(34,197,94,.6);
}

.verify-card:has(.bi-check-circle-fill) {
    border-color: rgba(34,197,94,.4) !important;
}

.verify-card:has(.bi-check-circle-fill) h3 {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(34,197,94,.55);
}

/* Pending state icons */
.bi-x-circle-fill {
    color: #fb923c;
    text-shadow: 0 0 20px rgba(251,146,60,.6);
}

.verify-card:has(.bi-x-circle-fill) {
    border-color: rgba(251,146,60,.4) !important;
}

.status-container h3.status-pending {
    color: #fb923c;
    text-shadow: 0 0 10px rgba(251,146,60,.55);
}

/* Shield/lock icons */
.status-icon {
    color: #4cc9ff;
    text-shadow: 0 0 20px rgba(76,201,255,.6);
}

/* ========================================
   Scrollbars
   ======================================== */

.terms-content::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.terms-content::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4cc9ff, #00e5ff);
    border-radius: 8px;
}

.terms-content::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: rgba(255,255,255,.05);
    border-radius: 8px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 576px) {
    .auth-form,
    .login-form,
    .verify-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-label,
    .form-control,
    .password-requirements,
    .btn-auth {
        font-size: 0.9rem;
    }

    .otp-input {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }

    .status-icon {
        font-size: 3.5rem;
    }

    .passkey-icon {
        font-size: 3rem;
    }

    .status-container h3 {
        font-size: 1.25rem;
    }

    .form-check {
        padding: 0.75rem 1rem;
    }

    .btn-primary,
    .btn-warning {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
}
