body { background: #f4f6f9; color: #1f2937; font-size: .92rem; }
.admin-sidebar { width: 250px; background: #111827; color: #dbe4f0; position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; }
.brand { font-size: 1.12rem; font-weight: 800; color: #fff; }
.admin-sidebar .nav-link { color: #cbd5e1; border-radius: .45rem; padding: .55rem .7rem; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: #fff; background: #1f766e; }
.admin-sidebar .nav { padding-bottom: 1rem; }
.topbar { min-height: 58px; position: sticky; top: 0; z-index: 10; }
.content { max-width: 1500px; margin: 0 auto; }
.content > .card, .content > .row, .content > .grid, .content > .table-responsive, .content > .table-wrap { margin-bottom: 1rem; }
.card { border: 1px solid #e5e7eb; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); border-radius: .7rem; }
.card:not([class*="p-"]) { padding: 1rem; }
.table { --bs-table-bg: #fff; }
.table td, .table th { padding: .7rem .8rem; }
.table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; background: #f8fafc; }
.form-control, .form-select, .btn { border-radius: .45rem; }
.page-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.avatar { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: #e5e7eb; }
.min-w-0 { min-width: 0; }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-title { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.toolbar, .actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.toolbar { margin-bottom: 1rem; padding: .2rem 0; }
.toolbar input, .toolbar select, .field input, .field select, .field textarea { border: 1px solid #ced4da; border-radius: .45rem; padding: .35rem .6rem; font-size: .875rem; background: #fff; }
.field { display: grid; gap: .35rem; margin-bottom: .2rem; align-content: start; }
.field label { font-weight: 600; font-size: .82rem; color: #334155; }
.field input, .field select, .field textarea, .field .choices { width: 100%; align-self: start; }
.table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: .55rem; background: #fff; margin-bottom: 1rem; }
.billing-table { min-width: 1120px; }
.billing-table > tbody > tr > td { vertical-align: top; }
.billing-table__departments { min-width: 500px; width: 46%; }
.billing-departments { border: 1px solid #e2e8f0; border-radius: .55rem; background: #fff; overflow: hidden; }
.billing-departments > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .75rem; cursor: pointer; list-style: none; background: #f8fafc; color: #0f172a; }
.billing-departments > summary::-webkit-details-marker { display: none; }
.billing-departments > summary > span:first-child { min-width: 0; display: grid; gap: .1rem; }
.billing-departments > summary small { color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.billing-departments__toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; color: #0d6efd; font-size: .78rem; font-weight: 750; }
.billing-departments__toggle i { transition: transform .18s ease; }
.billing-departments .when-open { display: none; }
.billing-departments[open] .when-closed { display: none; }
.billing-departments[open] .when-open { display: inline; }
.billing-departments[open] .billing-departments__toggle i { transform: rotate(180deg); }
.billing-departments__list { max-height: 310px; overflow-y: auto; padding: .45rem; border-top: 1px solid #e2e8f0; }
.billing-departments__list > .border { margin-bottom: .4rem !important; padding: .55rem .65rem !important; background: #fff; border-color: #e8edf3 !important; }
.billing-departments__list > .border:last-of-type { margin-bottom: 0 !important; }
.billing-departments__list .text-secondary.small { max-width: 310px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.billing-departments__list .small.mt-1 { color: #64748b; font-size: .76rem; }
.billing-departments__list .btn { flex: 0 0 auto; }
.page-title h1, .page-heading h1 { margin: 0; font-size: 1.45rem; font-weight: 750; }
.page-title p, .page-heading p { margin-top: .25rem; }
.pagination { margin-top: .75rem; }
.pagination nav { width: 100%; }
.pagination .pagination { margin: 0; }
.form { gap: .85rem; }
.stat { min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; }
.stat strong { font-size: 1.8rem; }
a.stat { color: #fff; text-decoration: none; border: 0; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
a.stat:hover { color: #fff; filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 23, 42, .16); }
a.stat span { display: inline-flex; align-items: center; font-weight: 750; }
a.stat i { font-size: 1.15rem; line-height: 1; }
.stat-medical-colleges { background: linear-gradient(135deg, #db2777, #be185d); }
.stat-doctors { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.stat-vacancies { background: linear-gradient(135deg, #0f766e, #115e59); }
.stat-placements { background: linear-gradient(135deg, #d97706, #b45309); }
.badge.open { background: #dcfce7; color: #166534; }
.badge.progress { background: #fef3c7; color: #92400e; }
.badge.closed { background: #e5e7eb; color: #374151; }
.vacancy-table { min-width: 1080px; }
.vacancy-table > :not(caption) > * > * { padding: .9rem .85rem; }
.vacancy-table tbody tr:hover { --bs-table-bg: #fbfdff; }
.vacancy-table__date { width: 72px; white-space: nowrap; }
.vacancy-table__college { color: #0d6efd; font-weight: 750; line-height: 1.35; }
.vacancy-table__college:hover { text-decoration: underline; }
.vacancy-table__department { display: inline-flex; padding: .3rem .55rem; border-radius: .4rem; background: #f1f5f9; color: #334155; font-weight: 700; }
.vacancy-table__requirements { min-width: 330px; }
.vacancy-requirement { padding: .7rem .75rem; border: 1px solid #e2e8f0; border-radius: .55rem; background: #f8fafc; }
.vacancy-requirement + .vacancy-requirement { margin-top: .55rem; }
.vacancy-requirement__header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #0f172a; }
.vacancy-requirement__positions { flex: 0 0 auto; padding: .2rem .5rem; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: .75rem; font-weight: 800; }
.vacancy-requirement__meta { display: flex; gap: .5rem 1rem; flex-wrap: wrap; margin-top: .4rem; color: #64748b; font-size: .8rem; }
.vacancy-requirement__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.vacancy-requirement__more { margin-top: .35rem; padding: .2rem 0; font-size: .8rem; font-weight: 750; text-decoration: none; }
.vacancy-requirement__more:hover { text-decoration: underline; }
.vacancy-requirements-dialog { width: min(620px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: .75rem; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); }
.vacancy-requirements-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.vacancy-requirements-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid #e2e8f0; }
.vacancy-requirements-dialog__list { max-height: calc(100vh - 9rem); overflow-y: auto; padding: 1rem; }
.vacancy-table__total { display: inline-grid; place-items: center; min-width: 2.35rem; height: 2.35rem; border-radius: .55rem; background: #ecfdf5; color: #047857; font-size: 1rem; font-weight: 800; }
.choices { margin-bottom: 0; }
.choices__inner { min-height: 38px; border: 1px solid #ced4da; border-radius: .45rem; background: #fff; font-size: .875rem; }
.follow-up-modal .choices { width: 100%; }
.follow-up-modal .choices__inner { min-height: 38px; padding: .3rem .55rem; }
.follow-up-modal .choices__list--dropdown { z-index: 20; }
.follow-up-modal .choices__list--dropdown .choices__input { width: calc(100% - .9rem); margin: .45rem; border-radius: .4rem; }
.choices__list--multiple .choices__item { background: #0d6efd; border-color: #0d6efd; border-radius: 999px; }
select.multi-select { min-height: 38px; }
.requirement-row .choices { min-height: 38px; }
.requirement-row .choices__inner { min-height: 38px; padding: .25rem .55rem; }
.requirement-row .choices__list--multiple { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.requirement-row .choices__list--multiple .choices__item { margin: 0; }
.requirement-row .choices__input { min-width: 9rem; margin: 0; padding: .2rem 0; }
.select2-container--bootstrap-5 .select2-selection { min-height: 38px; font-size: .875rem; border-radius: .45rem; }
.select2-container--bootstrap-5 .select2-dropdown { border-color: #ced4da; border-radius: .45rem; }
.doctor-option { padding: .25rem 0; line-height: 1.25; }
.doctor-option__name { color: #0f172a; font-weight: 700; }
.doctor-option__meta, .doctor-option__tags { color: #64748b; font-size: .78rem; margin-top: .15rem; }
.doctor-status-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.doctor-status-tab { display: inline-flex; align-items: center; min-height: 34px; padding: .35rem .65rem; border: 1px solid #cbd5e1; border-radius: .45rem; background: #fff; color: #334155; font-weight: 700; font-size: .84rem; text-decoration: none; }
.doctor-status-tab:hover { color: #0f172a; border-color: #94a3b8; }
.doctor-status-tab.active { color: #fff; background: #0f766e; border-color: #0f766e; }
.selected-table { min-width: 1180px; }
.follow-up-modal { display: none; position: fixed; inset: 0; z-index: 1050; }
.follow-up-modal.is-open { display: block; }
.follow-up-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .56); }
.follow-up-modal__dialog { position: relative; width: min(760px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto; margin: 1rem auto; background: #fff; border-radius: .7rem; border: 1px solid #e5e7eb; box-shadow: 0 22px 70px rgba(15, 23, 42, .24); padding: 1rem; }
.follow-up-modal__header, .follow-up-modal__footer { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.follow-up-modal__header { margin-bottom: 1rem; }
.follow-up-modal__footer { margin-top: .25rem; }
.follow-up-history { border-top: 1px solid #e5e7eb; margin-top: 1rem; padding-top: 1rem; }
.follow-up-history__list { display: grid; gap: .7rem; }
.follow-up-history__item { border: 1px solid #e5e7eb; border-radius: .55rem; padding: .75rem; background: #f8fafc; }
.follow-up-history__title { color: #0f172a; font-weight: 750; }
.login-screen {
    padding: 1.25rem;
    background:
        radial-gradient(1400px 700px at 100% 0%, rgba(15, 118, 110, .18), transparent 45%),
        radial-gradient(900px 500px at 0% 100%, rgba(13, 110, 253, .14), transparent 55%),
        #f4f6f9;
}
.login-shell {
    width: min(960px, 100%);
    min-height: min(680px, calc(100vh - 2.5rem));
    margin: 0 auto;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #fff;
    box-shadow: 0 24px 56px rgba(15, 23, 42, .16);
}
.login-brand-panel {
    padding: 2rem;
    color: #ecfeff;
    background:
        linear-gradient(155deg, rgba(15, 118, 110, .94), rgba(17, 94, 89, .96)),
        linear-gradient(30deg, rgba(13, 110, 253, .24), transparent 40%);
    display: grid;
    align-content: start;
    gap: .95rem;
}
.login-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .2);
    font-size: 1.25rem;
}
.login-brand-title {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}
.login-brand-copy {
    margin: 0;
    color: rgba(236, 254, 255, .95);
    max-width: 34ch;
    line-height: 1.45;
}
.login-brand-stats {
    display: grid;
    gap: .6rem;
    margin-top: .6rem;
}
.login-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .9rem;
    padding: .55rem .7rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}
.login-stat span {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(236, 254, 255, .88);
}
.login-stat strong {
    font-size: .85rem;
    color: #fff;
}
.login-form-panel {
    padding: 2rem;
    display: grid;
    align-content: center;
    gap: .9rem;
}
.login-form-header h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
}
.login-form .field input {
    min-height: 42px;
}
.login-form .field input:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .15);
    outline: none;
}
.login-remember {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #334155;
    font-size: .86rem;
}
.login-submit {
    width: 100%;
    justify-content: center;
    min-height: 42px;
}
@media (max-width: 920px) {
    .d-flex.min-vh-100 { display: block !important; }
    .admin-sidebar { width: 100%; height: auto; position: static; }
    .admin-sidebar .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar { position: static; }
    .content { padding: 1rem !important; }
    .page-heading, .page-title { align-items: flex-start; flex-direction: column; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .follow-up-modal__dialog { width: calc(100vw - 1rem); margin: .5rem auto; }
    .follow-up-modal__footer { align-items: stretch; flex-direction: column; }
    .login-screen { padding: .75rem; }
    .login-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }
    .login-brand-panel, .login-form-panel { padding: 1.1rem; }
}
.fs-16{
    font-size: 16px;
}
.fs-18{
    font-size: 18px;
}
