@font-face {
    font-family: 'CalibriCustom';
    src: url('/fonts/Calibri/calibri-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CalibriCustom';
    src: url('/fonts/Calibri/calibri-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-blue: rgba(14, 175, 255, 1);
    --text: #001D2B;
    --muted: #6b7a83;
    --border: #e2e8ec;
}

* { box-sizing: border-box; }

body {
    font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    color: var(--text);
    background: #f4f8fb;
    font-size: 16px;
}

.cab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.cab-header__logo img { height: 40px; width: auto; }
.cab-header__user { display: flex; align-items: center; gap: 16px; }
.cab-header__user form { margin: 0; }

.cab-main { padding: 32px; max-width: 1400px; margin: 0 auto; }

.cab-card {
    background: #fff;
    border-radius: 15px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 29, 43, .06);
}
.cab-card--narrow { max-width: 440px; margin: 40px auto; }
.cab-card h1 { margin: 0 0 24px; font-size: 28px; }

.cab-form { display: flex; flex-direction: column; gap: 14px; }
.cab-form label { display: flex; flex-direction: column; gap: 6px; }
.cab-form label span { font-weight: 700; }
.cab-form input[type=text],
.cab-form input[type=email],
.cab-form input[type=password],
.cab-filter input,
.cab-filter select,
.cab-status {
    font: inherit;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
}
.cab-form input:focus, .cab-filter input:focus { border-color: var(--main-blue); }
.cab-checkbox { flex-direction: row !important; align-items: center; }

.cab-btn {
    display: inline-block;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--main-blue);
    border: 0;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}
.cab-btn--light { background: #eaf6fd; color: var(--text); }

.cab-error { color: #d92d20; margin: -6px 0 0; font-size: 14px; }
.cab-hint, .cab-muted { color: var(--muted); }
.cab-muted { font-size: 14px; }
.cab-nowrap { white-space: nowrap; }

.cab-alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 20px; }
.cab-alert--success { background: #e7f7dc; color: #2d6a0e; }

.cab-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cab-filter input { min-width: 260px; }

.cab-table-wrap { overflow-x: auto; }
.cab-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cab-table th, .cab-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cab-table th { background: #f4f8fb; white-space: nowrap; }
.cab-item + .cab-item { margin-top: 6px; }

.cab-badge { display: inline-block; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.cab-status--pending { background: #fff4d6; }
.cab-status--approved { background: #e7f7dc; }
.cab-status--rejected { background: #fde4e1; }
.cab-status.is-saving { opacity: .5; }

.cab-pagination { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.cab-pagination a { padding: 8px 14px; border-radius: 8px; background: #eaf6fd; color: var(--text); text-decoration: none; }
.cab-pagination .is-disabled { padding: 8px 14px; color: var(--muted); }

@media (max-width: 700px) {
    .cab-main { padding: 16px; }
    .cab-card { padding: 20px; }
    .cab-header { padding: 12px 16px; }
}
