/* Cổng học viên: trang đăng nhập và lưới dịch vụ sau đăng nhập. */

.hv-dang-nhap-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hv-form-dang-nhap {
    width: 100%;
    max-width: 540px;
}

.hv-cong-tieu-de {
    font-weight: 800;
    color: #172033;
    letter-spacing: .2px;
}

.hv-cong-mo-ta {
    color: #475569;
}

.hv-luoi-dich-vu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .hv-luoi-dich-vu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hv-dich-vu {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    height: 100%;
    padding: 18px 16px;
    text-align: left;
    text-decoration: none;
    background: #fff;
    border: 2px solid #c6cedb;
    border-left: 6px solid var(--hv-mau, #0d6efd);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .09);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

a.hv-dich-vu,
button.hv-dich-vu {
    cursor: pointer;
}

button.hv-dich-vu {
    appearance: none;
    font: inherit;
}

a.hv-dich-vu:hover,
button.hv-dich-vu:hover,
a.hv-dich-vu:focus-visible,
button.hv-dich-vu:focus-visible {
    transform: translateY(-2px);
    border-color: var(--hv-mau, #0d6efd);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
    outline: none;
}

.hv-dich-vu-chon {
    border-color: var(--hv-mau, #0d6efd);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .28);
}

.hv-dich-vu-khoa {
    background: #f4f6f9;
    border-left-color: #9aa5b5;
    box-shadow: none;
    cursor: default;
}

.hv-dich-vu-khoa .hv-dich-vu-ten {
    color: #64748b;
}

.hv-dich-vu-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--hv-mau, #0d6efd);
    background: var(--hv-nen, #e5efff);
}

.hv-dich-vu-icon svg {
    width: 26px;
    height: 26px;
}

.hv-dich-vu-than {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.hv-dich-vu-ten {
    font-size: 1.1rem;
    font-weight: 800;
    color: #172033;
    line-height: 1.3;
}

.hv-dich-vu-mo-ta {
    font-size: .92rem;
    color: #475569;
    line-height: 1.45;
}

.hv-nhan {
    margin-top: 4px;
    padding: 2px 10px;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.hv-nhan-mo {
    color: #14532d;
    background: #dcfce7;
}

.hv-nhan-khoa {
    color: #1e3a8a;
    background: #e0edff;
}

.hv-nhan-cho {
    color: #475569;
    background: #e2e8f0;
}

.hv-dich-vu-dang-chon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-weight: 600;
    color: #1e3a8a;
    background: #eef4ff;
    border: 1px solid #bcd3ff;
    border-radius: 10px;
}
