/*
 * ============================================================
 * PENNY LEDGER
 * Stagecoach West, L.L.C.
 *
 * FILE NUMBER: 124
 * FILE: public/assets/css/login-showcase.css
 *
 * PURPOSE:
 * Decorative financial dashboard preview for the
 * customer login page.
 *
 * No real customer financial information is displayed.
 * ============================================================
 */

.pl-login-showcase {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 440px;

    margin-top: 45px;
    padding: 20px;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 19px;

    background: rgba(255,255,255,.09);

    box-shadow:
        0 24px 60px rgba(0,0,0,.16);

    backdrop-filter: blur(12px);
}

.pl-showcase-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
    margin-bottom: 19px;
}

.pl-showcase-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.pl-showcase-period {
    color: #d9e2ed;
    font-size: 10px;
}

.pl-showcase-balance-label {
    margin: 0 0 7px;
    color: #c3d2e1;
    font-size: 11px;
}

.pl-showcase-balance {
    margin: 0;

    color: #ffffff;

    font-size: clamp(27px, 3vw, 37px);
    font-weight: 850;
    letter-spacing: -1px;
}

.pl-showcase-change {
    display: inline-flex;
    margin-top: 9px;

    color: #f0d6a2;

    font-size: 11px;
    font-weight: 700;
}

.pl-showcase-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    height: 115px;
    gap: 9px;
    margin-top: 27px;

    border-bottom: 1px solid rgba(255,255,255,.16);
}

.pl-showcase-bar {
    flex: 1 1 0;
    min-width: 0;

    height: var(--bar-height, 50%);

    border-radius: 6px 6px 0 0;

    background: linear-gradient(
        180deg,
        #e5c98f,
        #a98547
    );
}

.pl-showcase-bar:nth-child(even) {
    background: linear-gradient(
        180deg,
        #9cc5dc,
        #517d9d
    );
}

.pl-showcase-months {
    display: flex;
    justify-content: space-between;

    gap: 6px;
    margin-top: 10px;

    color: #c6d4e1;
    font-size: 10px;
}

.pl-showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 12px;
    margin-top: 22px;
}

.pl-showcase-stat {
    padding: 13px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;

    background: rgba(255,255,255,.08);
}

.pl-showcase-stat-label {
    display: block;
    margin-bottom: 7px;

    color: #c6d4e1;
    font-size: 10px;
}

.pl-showcase-stat-value {
    display: block;

    color: white;

    font-size: 18px;
    font-weight: 800;
}

.pl-showcase-disclaimer {
    margin: 12px 0 0;

    color: #c6d4e1;

    font-size: 10px;
    text-align: center;
}

/* Keep the decorative preview from crowding mobile login. */

@media (max-width: 1050px) {
    .pl-login-showcase {
        padding: 15px;
    }

    .pl-showcase-stats {
        gap: 8px;
    }
}

@media (max-width: 760px) {
    .pl-login-showcase {
        display: none;
    }
}