.erp-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #1f5582;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.erp-home-hero {
    min-height: 200px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.erp-home-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.erp-home-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .08);
}

.erp-home-card h2 {
    margin: 0 0 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.erp-home-card h3 {
    margin: 20px 0 15px;
    font-size: 1.2rem;
}

.erp-home-roles,
.erp-home-modules {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.erp-home-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.erp-home-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #1f5582;
    box-shadow: 0 5px 15px rgba(31, 85, 130, .3);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.erp-home-roles .erp-home-button {
    justify-content: center;
    min-height: 65px;
    border-radius: 15px;
    font-size: 1.1rem;
}

.erp-home-icon {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    padding: 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
}

.erp-home-modules .erp-home-button[href="/academic/Fee"],
.erp-home-modules .erp-home-button[href^="/stores/"] {
    background: #276796;
}

.erp-home-modules .erp-home-button[href="/hr/Leave"],
.erp-home-modules .erp-home-button[href="/hr/Salary"] {
    background: #2b6da7;
}

.erp-home .erp-home-button:hover,
.erp-home .erp-home-button:focus-visible {
    background: #17466d;
    color: #fff;
}

.erp-home-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.erp-home-back {
    padding: 4px 8px;
    color: inherit;
    font-size: 1.4rem;
    text-decoration: none;
}

.erp-home-sign-in,
.erp-home-attribution a {
    color: inherit;
}

.erp-home-attribution {
    margin: 50px 0 0;
    text-align: center;
    font-size: .9rem;
}

@media (max-width: 600px) {
    .erp-home {
        padding: 15px;
    }

    .erp-home-hero {
        min-height: 150px;
        margin-bottom: 25px;
    }

    .erp-home-card {
        padding: 25px;
    }

    .erp-home-roles {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
