﻿/* Tight, Register/Contact-style wrapper */
.account-wrap {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 18px;
    align-items: start;
}

/* Main login card */
.account-card {
    padding: 26px 24px;
}

/* Right side card (optional) */
.account-aside-card {
    padding: 22px 20px;
}

/* Alerts consistent with your style */
.account-alert {
    border-radius: 14px;
    margin-bottom: 14px;
}

/* Small spacing harmonization */
.contact-sub {
    margin-bottom: 16px;
}

/* Mobile stacking */
@media (max-width: 920px) {
    .account-wrap {
        grid-template-columns: 1fr;
    }
}

/* Slightly tighter on very small screens */
@media (max-width: 576px) {
    .account-card {
        padding: 20px 18px;
    }

    .account-aside-card {
        padding: 18px 16px;
    }
}

/* Keep Login aligned to the same Contact layout width/spacing */
.contact-card .form-label {
    font-weight: 600;
}

/* Make the login card feel as tight/clean as Contact */
.contact-card {
    padding: 26px 24px;
}

/* Side card slightly tighter */
.contact-card--aside {
    padding: 22px 20px;
}

/* Mobile: match the Contact behavior */
@media (max-width: 576px) {
    .contact-card {
        padding: 20px 18px;
    }

    .contact-card--aside {
        padding: 18px 16px;
    }
}

