.admin-home {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-home-header,
.admin-home-section {
    width: 100%;
    box-sizing: border-box;

    padding: 26px 28px;

    background: #ffffff;
    border: 1px solid #dfe8ef;
    border-radius: 22px;

    box-shadow: 0 7px 20px rgba(31, 60, 90, 0.07);
}

.admin-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-home-kicker,
.admin-home-section-kicker {
    margin-bottom: 5px;

    color: #109c9b;

    font-size: 0.76rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.admin-home-header h1 {
    margin: 0;

    color: #102b56;

    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.1;
}

.admin-home-header p {
    max-width: 760px;

    margin: 9px 0 0;

    color: #536579;

    line-height: 1.55;
}

.admin-home-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid #cfdce5;
    border-radius: 12px;

    background: #ffffff;
    color: #40556b !important;

    font-weight: 800;
    text-decoration: none !important;
}

.admin-home-back:hover {
    background: #f7fafc;
}

.admin-home-section-title {
    margin-bottom: 18px;
    padding-bottom: 14px;

    border-bottom: 1px solid #e8eef3;
}

.admin-home-section-title h2 {
    margin: 0;

    color: #102b56;

    font-size: 1.2rem;
    font-weight: 900;
}

.admin-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-card {
    position: relative;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;

    min-width: 0;
    padding: 20px;

    border: 1px solid #dfe8ef;
    border-radius: 17px;

    background: #fbfdff;
    color: inherit !important;

    text-decoration: none !important;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.admin-card:hover {
    transform: translateY(-2px);

    border-color: #afd6df;
    background: #f7fcfc;

    box-shadow: 0 8px 20px rgba(31, 60, 90, 0.08);
}

.admin-card-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #cde5e7;
    border-radius: 15px;

    background: #edfafa;
    color: #102b56;

    font-size: 1.6rem;
    font-weight: 900;
}

.admin-card-icon-small {
    font-size: 1.1rem;
}

.admin-card-content {
    min-width: 0;
}

.admin-card h3 {
    margin: 0 0 6px;

    color: #102b56;

    font-size: 1.05rem;
    font-weight: 900;
}

.admin-card p {
    margin: 0;

    color: #657589;

    font-size: 0.88rem;
    line-height: 1.45;
}

.admin-card-arrow {
    color: #109c9b;

    font-size: 1.25rem;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .admin-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-home-header {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-home-back {
        align-self: flex-start;
    }

    .admin-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .admin-home-header,
    .admin-home-section {
        padding: 18px;

        border-radius: 17px;
    }

    .admin-card {
        grid-template-columns: 50px minmax(0, 1fr) auto;

        padding: 16px;
    }

    .admin-card-icon {
        width: 50px;
        height: 50px;
    }
}
