﻿a {
    text-decoration: none;
}

/* ---------------- Trang nền có vệt xanh mờ giống app BV Bạch Mai ---------------- */
.trangchu-bg {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

    .trangchu-bg::before,
    .trangchu-bg::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(2px);
        z-index: 0;
        pointer-events: none;
    }

    .trangchu-bg::before {
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(46, 184, 95, 0.16), rgba(46, 184, 95, 0) 70%);
        bottom: -60px;
        left: -80px;
    }

    .trangchu-bg::after {
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, rgba(30, 156, 74, 0.14), rgba(30, 156, 74, 0) 70%);
        bottom: 40px;
        right: -60px;
    }

    .trangchu-bg > .container {
        position: relative;
        z-index: 1;
    }

/* ---------------- Greeting block (giống trang "Xin chào" của app BV Bạch Mai) ---------------- */
.greeting-block {
    padding: 8px 4px 4px;
}

.greeting-hi {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
}

.greeting-name {
    color: var(--primary, #1e9c4a);
}

.greeting-date {
    margin-top: 6px;
    font-size: 14.5px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .greeting-date i {
        color: var(--primary, #1e9c4a);
    }

/* ---------------- Section title ("Chức năng chính") ---------------- */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 22px 4px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------------- Chức năng chính grid (4 cột, ô nhỏ vừa phải, giống demo) ---------------- */
.home-menu {
    margin-top: 4px !important;
}

.menu-box {
    background: #ffffff;
    color: #1f2937;
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    font-weight: 600;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(16, 40, 80, 0.07);
    border: 1px solid #eef1f6;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .menu-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(16, 40, 80, 0.13);
        border-color: #cdeed8;
        cursor: pointer;
    }

    .menu-box:active {
        transform: translateY(-1px) scale(0.98);
    }

.menu-icon {
    font-size: 26px;
    line-height: 1;
    color: var(--primary, #1e9c4a);
}

.menu-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #26324a;
}

@media (max-width: 575.98px) {
    .greeting-hi {
        font-size: 19px;
    }

    .greeting-date {
        font-size: 12.5px;
    }

    .section-title {
        font-size: 15px;
    }

    .menu-box {
        border-radius: 12px;
        padding: 10px 5px;
        min-height: 86px;
        gap: 5px;
    }

    .menu-icon {
        font-size: 22px;
    }

    .menu-label {
        font-size: 12.5px;
    }
}
