/* =========================================
   TRUSTED INVESTMENT
   AUTHENTICATION STYLES
   ========================================= */

.auth-page {
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background:
        radial-gradient(circle at top right,
        rgba(34, 197, 94, 0.10),
        transparent 35%),
        #f7faf8;
}


/* AUTH CARD */

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}


/* BRAND */

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.auth-brand .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #16a34a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
}

.auth-brand .brand-text {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
}

.auth-brand .brand-text span {
    color: #16a34a;
}

.auth-brand .brand-text small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #64748b;
    margin-top: -2px;
}


/* HEADING */

.auth-heading {
    text-align: center;
    margin-bottom: 30px;
}

.auth-heading .eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #16a34a;
}

.auth-heading h1 {
    font-size: 32px;
    margin: 8px 0;
    color: #0f172a;
}

.auth-heading p {
    color: #64748b;
    font-size: 14px;
}


/* FORM */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.form-group input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    transition: 0.2s ease;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus {
    border-color: #22c55e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}


/* SUBMIT BUTTON */

.auth-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #16a34a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-submit:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.auth-submit:active {
    transform: translateY(0);
}


/* MESSAGE */

.auth-message {
    min-height: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.auth-message.success {
    color: #16a34a;
}

.auth-message.error {
    color: #dc2626;
}


/* FOOTER */

.auth-footer {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.auth-footer a {
    color: #16a34a;
    font-weight: 700;
    margin-left: 5px;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* BACK HOME */

.back-home {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: #64748b;
    font-size: 13px;
    transition: 0.2s ease;
}

.back-home:hover {
    color: #16a34a;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 550px) {

    .auth-page {
        padding: 35px 15px;
    }

    .auth-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .auth-heading h1 {
        font-size: 27px;
    }

    .auth-footer {
        line-height: 1.8;
    }

    .auth-footer a {
        display: inline-block;
    }
}