/* =========================================================
   SENDY LINK · ACCOUNTS
   Premium Login / Register
========================================================= */

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(51, 65, 85, 0.08), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(37, 99, 235, 0.055), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
}

/* Layout inherited from Bootstrap rows */

.row.justify-content-center {
    min-height: calc(100vh - 96px);
    align-items: center;
    padding: 2rem 0.75rem;
}

/* =========================================================
   CARD
========================================================= */

.account-card {
    position: relative;
    overflow: hidden;

    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-md);

    background: var(--ui-surface);

    box-shadow: var(--ui-shadow-resting);
}

.account-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;

    background:
        linear-gradient(90deg,
            #0f172a 0%,
            #334155 38%,
            #2563eb 100%);
}

.account-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;

    width: 180px;
    height: 180px;

    border-radius: 999px;
    background: rgba(37, 99, 235, 0.055);
    filter: blur(4px);
    pointer-events: none;
}

.account-card .card-body {
    position: relative;
    z-index: 1;

    padding: 2.25rem !important;
}

/* =========================================================
   HEADER
========================================================= */

.account-eyebrow {
    margin-bottom: 0.6rem !important;

    color: #64748b;

    font-size: 0.62rem;
    font-weight: 760;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-card .page-title {
    margin-bottom: 0.45rem !important;

    color: #0f172a;

    font-size: 1.72rem;
    line-height: 1.05;
    font-weight: 760;
    letter-spacing: -0.055em;
}

.account-card .page-subtitle {
    max-width: 420px;
    margin: 0 auto;

    color: #64748b;

    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 430;
}

/* =========================================================
   FORM
========================================================= */

.account-form-label {
    margin-bottom: 0.38rem;

    color: #475569;

    font-size: 0.66rem;
    font-weight: 720;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.account-card .form-control {
    height: 44px;

    border: 1px solid #dbe3ec;
    border-radius: 14px;

    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);

    padding: 0 0.9rem;

    color: #0f172a;

    font-size: 0.84rem;
    font-weight: 520;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025);

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease,
        transform 0.16s ease;
}

.account-card .form-control:hover {
    border-color: #cbd5e1;
}

.account-card .form-control:focus {
    border-color: #94a3b8;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(15, 23, 42, 0.055),
        0 8px 18px rgba(15, 23, 42, 0.055);

    transform: translateY(-1px);
}

.account-card .form-text {
    margin-top: 0.42rem;

    color: #64748b;

    font-size: 0.72rem;
    line-height: 1.42;
}

/* =========================================================
   ERRORS
========================================================= */

.account-card .alert {
    border: 1px solid #fecaca;
    border-radius: 14px;

    background: #fef2f2;
    color: #991b1b;

    font-size: 0.8rem;
}

.account-card .text-danger {
    font-size: 0.72rem !important;
}

/* =========================================================
   BUTTON
========================================================= */

.account-submit-btn {
    min-height: 44px;

    border: none !important;
    border-radius: 14px !important;

    background:
        linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;

    color: #ffffff !important;

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;

    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.account-submit-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* =========================================================
   FOOTER
========================================================= */

.account-footer-note {
    margin-top: 1.35rem !important;

    color: #64748b;

    font-size: 0.82rem;
    font-weight: 450;
}

.account-footer-note a {
    color: #0f172a;

    font-weight: 720;
    text-decoration: none;

    border-bottom: 1px solid rgba(15, 23, 42, 0.22);
}

.account-footer-note a:hover {
    color: #2563eb;
    border-bottom-color: rgba(37, 99, 235, 0.35);
}

/* =========================================================
   REGISTER SPACING
========================================================= */

.account-card .row.g-3 {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {
    .row.justify-content-center {
        min-height: auto;
        padding: 1rem 0.35rem;
    }

    .account-card {
        border-radius: 22px;
    }

    .account-card .card-body {
        padding: 1.45rem !important;
    }

    .account-card .page-title {
        font-size: 1.46rem;
    }

    .account-card .page-subtitle {
        font-size: 0.8rem;
    }
}