/* Dashboard login portal identities (admin / accountant / employee) */

.auth-portal-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-portal-wrapper .authentication-inner {
    width: 100%;
    max-width: 100%;
}

.auth-portal-card {
    border: 0;
    box-shadow: 0 0.25rem 1.5rem rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.auth-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.auth-portal-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auth-portal-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-portal-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-heading-color);
}

.auth-portal-subtitle {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.auth-portal-hero {
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.auth-portal-hero h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.auth-portal-hero p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.auth-portal-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.auth-portal-feature i {
    font-size: 1.35rem;
    opacity: 0.95;
}

/* Admin — keep familiar primary branding */
.auth-portal--admin .auth-portal-badge {
    background: rgba(105, 108, 255, 0.12);
    color: #696cff;
}

.auth-portal--admin .auth-portal-icon-wrap {
    background: rgba(105, 108, 255, 0.12);
    color: #696cff;
}

/* Accountant — calm finance teal */
.auth-portal--accountant {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 45%, #f8fafc 100%);
}

.auth-portal--accountant .auth-portal-badge {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.auth-portal--accountant .auth-portal-icon-wrap {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.auth-portal--accountant .btn-auth-portal {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.auth-portal--accountant .btn-auth-portal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.auth-portal--accountant .auth-portal-hero {
    background: linear-gradient(145deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%);
}

/* Employee — distinct blue-teal, practical */
.auth-portal--employee {
    background: linear-gradient(160deg, #eff6ff 0%, #ecfeff 50%, #f0fdf4 100%);
}

.auth-portal--employee .auth-portal-badge {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.auth-portal--employee .auth-portal-icon-wrap {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.auth-portal--employee .btn-auth-portal {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.auth-portal--employee .btn-auth-portal:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}

.auth-portal--employee .auth-portal-hero {
    background: linear-gradient(145deg, #0369a1 0%, #0ea5e9 50%, #14b8a6 100%);
}

.auth-portal--employee .auth-portal-card {
    max-width: 420px;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .auth-portal--employee .auth-portal-layout,
    .auth-portal--accountant .auth-portal-layout {
        max-width: 960px;
        margin-inline: auto;
    }
}

[data-theme="dark"] .auth-portal--admin,
[data-theme="dark"] .auth-portal--accountant,
[data-theme="dark"] .auth-portal--employee {
    background: transparent;
}
