/* Mobile-first blue theme (full-width container) */

/* Theme variables */
:root {
    --blue-900: #0b4392;
    --blue-700: #1466b3;
    --blue-500: #2b8fe6;
    --blue-300: #9fd0ff;
    --bg: #f6fbff;
    --muted: #6b7280;
    --white: #ffffff;
    --black: #000;
    --radius: 10px;
}

/* Reset basic mobile-friendly */
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial;
}
body {
    background: var(--bg);
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* Full-width container for mobile (no fixed width) */
.app-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
h1 {
    font-size: 24px; /* adjust as needed */
    font-weight: bold;
    color: #fff;
}
/* Top header / brand */
.header {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
    color: var(--white);
    padding: 12px;
    box-shadow: 0 4px 12px rgba(11, 74, 139, 0.12);
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
}
.header .brand {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.2px;
}
.header .logo {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--white);
    color: var(--blue-700);
    text-align: center;
    line-height: 36px;
    font-weight: 700;
}

.header-actions a {
    background: #fff;
    text-decoration: none;
    color: var(--blue-500);
}
/* Simple primary button */
.btn {
    display: inline-block;
    background: var(--blue-700);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(43, 143, 230, 0.12);
}
.btn:hover {
    background: var(--blue-500);
}
.btn:active {
    transform: translateY(1px);
}
.btn.secondary {
    background: transparent;
    color: var(--blue-700);
    border: 1px solid rgba(43, 143, 230, 0.12);
    box-shadow: none;
}

.btn-download {
    transform: rotate(90deg);
}

/* Top nav/menu (compact) */
.nav-container {
    position: fixed;
    height: calc(100vh - 54px);
    transition: 0.5s;
    overflow: hidden;
    width: 56px;
    padding-right: 0;
    z-index: 10;
    width: 235px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #0b4392;
}
.main-container {
    margin-left: 250px;
    width: calc(100vw - 280px);
    min-height: calc(100vh - 55px);
    padding-top: 20px;
    padding-bottom: 15px;
    margin-top: 56px;
}

.inner-nav {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}
.top-nav a {
    display: block;
    padding: 20px 12px;
    border-radius: 0;
    text-decoration: none;
    color: var(--white);
    background: transparent;
    font-weight: 600;
    font-size: 14px;
}
.top-nav a:hover,
.top-nav a.active {
    background: var(--bg);
    color: var(--black);
}

/* Links (a tag) style globally */
a {
    background: var(--blue-500);
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
a.active,
a:hover {
    background: var(--blue-900);
}

/* Card (used for lists, tables) */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(11, 74, 139, 0.04);
    margin-bottom: 12px;
}
.cards {
    display: flex; /* Enables flexbox for children */
    flex-wrap: wrap; /* Allows items to wrap onto a new line if they exceed the container width */
    gap: 10px;
}
.cards div {
    flex: 1 0 24%;
    box-sizing: border-box;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
}
.cards div span {
    font-size: 24px;
    font-weight: 600;
    padding-top: 5px;
    display: inline-block;
}
.cards .today {
    background: #0e9384 !important;
}
.cards .overdue {
    background: #155eef !important;
}
.cards .collected {
    background: #4f46e5 !important;
}

.table-container {
    overflow-x: auto;
    width: 100%;
}

.table-container table {
    min-width: 100%;
}

table,
th,
td {
    border: 1px solid transparent;
    border-collapse: collapse;
    padding: 5px;
}

/* Mobile-friendly table (stacked rows on very small screens) */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table thead {
    display: none; /* hide header on small screens */
}
table tr {
    display: block;
    border-bottom: 1px solid #eef6ff;
    padding: 10px 0;
}

table th {
    color: var(--blue-900);
}
table td .label {
    color: var(--muted);
    font-weight: 600;
    margin-right: 8px;
}
table td .value {
    font-weight: 700;
    color: var(--blue-900);
}

/* For slightly larger screens show regular table */

table thead {
    display: table-header-group;
}
table tr {
    display: table-row;
    border-bottom: none;
}
table td {
    display: table-cell;
    padding: 10px 12px;
    vertical-align: middle;
}
table td .label {
    display: none;
}
.col {
    flex: 1;
}

.row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}
.col {
    flex: 1 0 0%;
}
.row-cols-auto > * {
    flex: 0 0 auto;
    width: auto;
}
.row-cols-1 > * {
    flex: 0 0 auto;
    width: 100%;
}
.row-cols-2 > * {
    flex: 0 0 auto;
    width: 50%;
}
.row-cols-3 > * {
    flex: 0 0 auto;
    width: 33.33333%;
}
.row-cols-4 > * {
    flex: 0 0 auto;
    width: 25%;
}
.row-cols-5 > * {
    flex: 0 0 auto;
    width: 20%;
}
.row-cols-6 > * {
    flex: 0 0 auto;
    width: 16.66667%;
}
.col-1 {
    flex: 0 0 auto;
    width: 8.33333%;
}
.col-2 {
    flex: 0 0 auto;
    width: 16.66667%;
}
.col-3 {
    flex: 0 0 auto;
    width: 25%;
}
.col-4 {
    flex: 0 0 auto;
    width: 33.33333%;
}
.col-5 {
    flex: 0 0 auto;
    width: 41.66667%;
}
.col-6 {
    flex: 0 0 auto;
    width: 50%;
}
.col-7 {
    flex: 0 0 auto;
    width: 58.33333%;
}
.col-8 {
    flex: 0 0 auto;
    width: 66.66667%;
}
.col-9 {
    flex: 0 0 auto;
    width: 75%;
}
.col-10 {
    flex: 0 0 auto;
    width: 83.33333%;
}
.col-11 {
    flex: 0 0 auto;
    width: 91.66667%;
}
.col-12 {
    flex: 0 0 auto;
    width: 100%;
}
.offset-1 {
    margin-left: 8.33333%;
}
.offset-2 {
    margin-left: 16.66667%;
}
.offset-3 {
    margin-left: 25%;
}
.offset-4 {
    margin-left: 33.33333%;
}
.offset-5 {
    margin-left: 41.66667%;
}
.offset-6 {
    margin-left: 50%;
}
.offset-7 {
    margin-left: 58.33333%;
}
.offset-8 {
    margin-left: 66.66667%;
}
.offset-9 {
    margin-left: 75%;
}
.offset-10 {
    margin-left: 83.33333%;
}
.offset-11 {
    margin-left: 91.66667%;
}
.g-0,
.gx-0 {
    --bs-gutter-x: 0;
}
.g-0,
.gy-0 {
    --bs-gutter-y: 0;
}
.g-1,
.gx-1 {
    --bs-gutter-x: 0.25rem;
}
.g-1,
.gy-1 {
    --bs-gutter-y: 0.25rem;
}
.g-2,
.gx-2 {
    --bs-gutter-x: 0.5rem;
}
.g-2,
.gy-2 {
    --bs-gutter-y: 0.5rem;
}
.g-3,
.gx-3 {
    --bs-gutter-x: 1rem;
}
.g-3,
.gy-3 {
    --bs-gutter-y: 1rem;
}
.g-4,
.gx-4 {
    --bs-gutter-x: 1.5rem;
}
.g-4,
.gy-4 {
    --bs-gutter-y: 1.5rem;
}
.g-5,
.gx-5 {
    --bs-gutter-x: 3rem;
}
.g-5,
.gy-5 {
    --bs-gutter-y: 3rem;
}
@media (min-width: 1024px) {
    .col-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }
    .col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333%;
    }
    .col-sm-2 {
        flex: 0 0 auto;
        width: 16.66667%;
    }
    .col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333%;
    }
    .col-sm-5 {
        flex: 0 0 auto;
        width: 41.66667%;
    }
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333%;
    }
    .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66667%;
    }
    .col-sm-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333%;
    }
    .col-sm-11 {
        flex: 0 0 auto;
        width: 91.66667%;
    }
    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
    .offset-sm-0 {
        margin-left: 0;
    }
    .offset-sm-1 {
        margin-left: 8.33333%;
    }
    .offset-sm-2 {
        margin-left: 16.66667%;
    }
    .offset-sm-3 {
        margin-left: 25%;
    }
    .offset-sm-4 {
        margin-left: 33.33333%;
    }
    .offset-sm-5 {
        margin-left: 41.66667%;
    }
    .offset-sm-6 {
        margin-left: 50%;
    }
    .offset-sm-7 {
        margin-left: 58.33333%;
    }
    .offset-sm-8 {
        margin-left: 66.66667%;
    }
    .offset-sm-9 {
        margin-left: 75%;
    }
    .offset-sm-10 {
        margin-left: 83.33333%;
    }
    .offset-sm-11 {
        margin-left: 91.66667%;
    }
    .g-sm-0,
    .gx-sm-0 {
        --bs-gutter-x: 0;
    }
    .g-sm-0,
    .gy-sm-0 {
        --bs-gutter-y: 0;
    }
    .g-sm-1,
    .gx-sm-1 {
        --bs-gutter-x: 0.25rem;
    }
    .g-sm-1,
    .gy-sm-1 {
        --bs-gutter-y: 0.25rem;
    }
    .g-sm-2,
    .gx-sm-2 {
        --bs-gutter-x: 0.5rem;
    }
    .g-sm-2,
    .gy-sm-2 {
        --bs-gutter-y: 0.5rem;
    }
    .g-sm-3,
    .gx-sm-3 {
        --bs-gutter-x: 1rem;
    }
    .g-sm-3,
    .gy-sm-3 {
        --bs-gutter-y: 1rem;
    }
    .g-sm-4,
    .gx-sm-4 {
        --bs-gutter-x: 1.5rem;
    }
    .g-sm-4,
    .gy-sm-4 {
        --bs-gutter-y: 1.5rem;
    }
    .g-sm-5,
    .gx-sm-5 {
        --bs-gutter-x: 3rem;
    }
    .g-sm-5,
    .gy-sm-5 {
        --bs-gutter-y: 3rem;
    }
}
@media (min-width: 768px) {
    .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }
    .col-md-1 {
        flex: 0 0 auto;
        width: 8.33333%;
    }
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66667%;
    }
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333%;
    }
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66667%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66667%;
    }
    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-md-10 {
        flex: 0 0 auto;
        width: 83.33333%;
    }
    .col-md-11 {
        flex: 0 0 auto;
        width: 91.66667%;
    }
    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
    .offset-md-0 {
        margin-left: 0;
    }
    .offset-md-1 {
        margin-left: 8.33333%;
    }
    .offset-md-2 {
        margin-left: 16.66667%;
    }
    .offset-md-3 {
        margin-left: 25%;
    }
    .offset-md-4 {
        margin-left: 33.33333%;
    }
    .offset-md-5 {
        margin-left: 41.66667%;
    }
    .offset-md-6 {
        margin-left: 50%;
    }
    .offset-md-7 {
        margin-left: 58.33333%;
    }
    .offset-md-8 {
        margin-left: 66.66667%;
    }
    .offset-md-9 {
        margin-left: 75%;
    }
    .offset-md-10 {
        margin-left: 83.33333%;
    }
    .offset-md-11 {
        margin-left: 91.66667%;
    }
    .g-md-0,
    .gx-md-0 {
        --bs-gutter-x: 0;
    }
    .g-md-0,
    .gy-md-0 {
        --bs-gutter-y: 0;
    }
    .g-md-1,
    .gx-md-1 {
        --bs-gutter-x: 0.25rem;
    }
    .g-md-1,
    .gy-md-1 {
        --bs-gutter-y: 0.25rem;
    }
    .g-md-2,
    .gx-md-2 {
        --bs-gutter-x: 0.5rem;
    }
    .g-md-2,
    .gy-md-2 {
        --bs-gutter-y: 0.5rem;
    }
    .g-md-3,
    .gx-md-3 {
        --bs-gutter-x: 1rem;
    }
    .g-md-3,
    .gy-md-3 {
        --bs-gutter-y: 1rem;
    }
    .g-md-4,
    .gx-md-4 {
        --bs-gutter-x: 1.5rem;
    }
    .g-md-4,
    .gy-md-4 {
        --bs-gutter-y: 1.5rem;
    }
    .g-md-5,
    .gx-md-5 {
        --bs-gutter-x: 3rem;
    }
    .g-md-5,
    .gy-md-5 {
        --bs-gutter-y: 3rem;
    }
}
.small {
    font-size: 13px;
    color: var(--muted);
}

.select2-container--default .select2-selection--single {
    border: 1px solid #e9e9e9 !important;
    height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: 5px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: 6px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-top: 8px;
}

/* Form controls */
form {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #a3a3a3;
    border-radius: 5px;
}
.form-group {
    margin-bottom: 25px;
}
input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
    background: #fbfdff;
    font-size: 15px;
    outline: none;
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue-500);
    box-shadow: 0px 0px 3px 2px rgb(102, 175, 233);
}
input:read-only {
    cursor: default;
    border: 0;
    background: transparent;
}
label {
    padding-bottom: 7px;
    display: inline-block;
}
/* Badge */
.badge {
    display: inline-block;
    padding: 6px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}
.badge.paid {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    color: white;
}
.badge.pending {
    background: #fff6e6;
    color: #b36b00;
    border: 1px solid rgba(179, 107, 0, 0.08);
}

/* Tiny utilities */
.text-center {
    text-align: center;
}
.mb-8 {
    margin-bottom: 8px;
}
.mt-8 {
    margin-top: 8px;
}

#payNowPopup,
.payNowPopup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 100%;
    z-index: 100;
}
.payNowPopup-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    min-height: 100vh;
}
.payNowPopup-container {
    border: 1px solid #ccc;
    position: absolute;
    background: #fff;
    top: 20px;
    left: 50%;
    width: 350px;
    padding: 10px;
    border-radius: 10px;
    margin-left: -175px;
}

:root {
    --blue-700: #1e3a8a;
    --blue-500: #3b82f6;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body.login-pages {
    height: 100vh;
    display: flex;
}

/* LEFT SIDE */
.left-panel {
    width: 50%;
    background: var(--blue-700);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-radius: 20px 0px 0px 20px;
}

.left-panel h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.left-panel p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

/* RIGHT SIDE */
.right-panel {
    width: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 350px;
}

h2 {
    margin-bottom: 14px;
}
.login-box h2 {
    margin-bottom: 30px;
    color: var(--blue-700);
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: var(--blue-700);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.login-box button:hover {
    background: var(--blue-500);
}

.login-box a {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: var(--blue-700);
    text-decoration: none;
    font-size: 14px;
    background: transparent;
}

#error {
    color: red;
    margin-top: 10px;
    text-align: center;
}
/* 🔥 MOBILE RESPONSIVE */
@media (max-width: 768px) {
    body.login-pages {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        padding: 40px 25px;
        text-align: center;
        border-radius: 20px 20px 0px 0px;
    }

    .left-panel h1 {
        font-size: 28px;
    }
    .left-panel p {
        display: none;
    }

    .right-panel {
        width: 100%;
        padding: 30px 20px;
        background: var(--gray-100);
    }

    .login-box {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
}

.mt-1 {
    margin-top: 5px;
}
.mt-2 {
    margin-top: 10px;
}
.mt-3 {
    margin-top: 15px;
}
.mt-4 {
    margin-top: 20px;
}
.mb-1 {
    margin-bottom: 5px;
}
.mb-2 {
    margin-bottom: 10px;
}
.mb-3 {
    margin-bottom: 15px;
}
.mb-4 {
    margin-bottom: 20px;
}

.customer-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.customer-header {
    padding: 10px;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.customer-header:hover {
    background: #eaeaea;
}

.pending-count {
    color: red;
    font-weight: bold;
}

.customer-body {
    padding: 10px;
    border-top: 1px solid #ddd;
}

.due-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
}

.icon-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 8px;
    color: #333;
}

.icon-btn:hover {
    color: #007bff;
}

.download-btn {
    color: #28a745;
}

.download-btn:hover {
    color: #1e7e34;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 22px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: #28a745;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Disabled look */
.switch input:disabled + .slider {
    background-color: #999;
    cursor: not-allowed;
}

/* Default desktop */
.hamburger {
    display: none;
}

/* Base */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 10px;
    margin-top: 0px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header */
table thead {
    background: #f5f7fa;
}

table th {
    text-align: left;
    padding: 14px 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
    background: #e0e0e0;
}

/* Rows */
table td {
    padding: 14px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

/* Hover effect */
table tbody tr {
    transition: all 0.2s ease;
}

table tbody tr:hover {
    background: #f9fbff;
}

/* Zebra (optional) */
table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

/* Status badge */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #e6f4ea;
    color: #2e7d32;
}

.badge-warning {
    background: #fff4e5;
    color: #ef6c00;
}

.badge-danger {
    background: #fdecea;
    color: #c62828;
}

/* Buttons */
.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: #1976d2;
    color: #fff;
}

.btn-primary:hover {
    background: #125ea5;
}

.btn-danger {
    background: #e53935;
    color: #fff;
}

.btn-danger:hover {
    background: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
    table th,
    table td {
        padding: 10px 8px;
        font-size: 13px;
    }
}

.table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.table-controls input {
    padding: 8px 12px;
    width: 250px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
}

.table-controls input:focus {
    border-color: #1976d2;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    gap: 6px;
}

.pagination button {
    padding: 6px 10px;
    border: none;
    background: #f1f1f1;
    border-radius: 6px;
    cursor: pointer;
}

.pagination button.active {
    background: #1976d2;
    color: #fff;
}

.pagination button:hover {
    background: #ddd;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
    }

    .nav-container {
        position: fixed;
        top: 55px;
        left: -250px;
        width: 250px;
        height: 100%;
        transition: 0.3s;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .nav-container.active {
        left: 0;
    }

    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 999;
    }

    #overlay.active {
        display: block;
    }
    .main-container {
        margin-left: 0px;
        width: 100%;
        padding: 15px;
    }
    .cards div {
        padding: 10px;
        font-size: 13px;
    }
    .cards div span {
        font-size: 16px;
    }
}
