.hr-package-filter-summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 8px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
}

.hr-package-filter-summary strong {
    color: #0f172a;
    font-size: 15px;
}

.hr-package-employee-shell {
    overflow: hidden;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #f8fafc;
}

.hr-package-employee-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #dbe3ee;
    background: #fff;
}

.hr-package-employee-toolbar small {
    display: block;
    margin-top: 2px;
    color: #64748b;
}

.hr-package-employee-list {
    max-height: 330px;
    overflow: auto;
    padding: 12px;
}

.hr-package-employee-card {
    position: relative;
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    min-height: 86px;
    height: 100%;
    padding: 12px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.hr-package-employee-card:hover {
    border-color: #7dd3fc;
    box-shadow: 0 4px 14px rgba(15, 118, 157, .09);
}

.hr-package-employee-card.is-selected {
    border-color: #0f87a8;
    background: #f0fbff;
    box-shadow: 0 0 0 2px rgba(15, 135, 168, .12);
}

.hr-package-employee-card .form-check-input {
    width: 19px;
    height: 19px;
    margin: 0;
}

.hr-package-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dff5fb;
    color: #087794;
    font-weight: 800;
}

.hr-package-employee-copy {
    min-width: 0;
}

.hr-package-employee-copy > strong,
.hr-package-employee-number {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-package-employee-number {
    margin-top: 1px;
    color: #0f87a8;
    font-size: 12px;
    font-weight: 700;
}

.hr-package-employee-copy small {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
}

.hr-package-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #e2e8f0;
    color: transparent;
}

.hr-package-employee-card.is-selected .hr-package-check {
    background: #0f87a8;
    color: #fff;
}

@media (max-width: 767.98px) {
    #schedulePackageModal .modal-dialog {
        width: 100%;
        max-width: none;
        min-height: 100%;
        margin: 0;
    }

    #schedulePackageModal .modal-content {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    #schedulePackageModal .modal-body {
        padding: 12px;
    }

    .hr-package-employee-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hr-package-employee-toolbar > .d-flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .hr-package-employee-toolbar .btn {
        min-height: 40px;
        white-space: normal;
    }

    .hr-package-employee-list {
        max-height: 42vh;
        padding: 8px;
    }

    .hr-package-employee-card {
        grid-template-columns: 24px 38px minmax(0, 1fr) 26px;
        min-height: 82px;
        padding: 10px;
    }

    .hr-package-avatar {
        width: 38px;
        height: 38px;
    }

    #schedulePackageModal .modal-footer {
        position: sticky;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        padding: 10px 12px;
        background: #fff;
        box-shadow: 0 -5px 18px rgba(15, 23, 42, .08);
    }

    #schedulePackageModal .modal-footer .btn {
        width: 100%;
        min-height: 44px;
    }
}
