/* site.css */

/* Reset some default styles */
body, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.horizontal-nav {
    display: flex;
    justify-content: left;
    background-color: #444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .horizontal-nav ul {
        display: flex;
        padding: 0;
        margin: 0;
    }

        .horizontal-nav ul li {
            margin: 0 15px;
            position: relative;
        }

            .horizontal-nav ul li a {
                color: white;
                text-decoration: none;
                padding: 10px 15px;
                transition: background-color 0.3s, color 0.3s;
                font-weight: bold;
            }

                .horizontal-nav ul li a:hover,
                .horizontal-nav ul li a.active {
                    background-color: #575757;
                    color: #ffcc00;
                }

            .horizontal-nav ul li .dropdown-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #444;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                z-index: 1000;
            }

            .horizontal-nav ul li:hover .dropdown-menu {
                display: block;
            }

            .horizontal-nav ul li .dropdown-menu a {
                display: block;
                padding: 10px 15px;
                color: white;
                text-decoration: none;
            }

                .horizontal-nav ul li .dropdown-menu a:hover {
                    background-color: #575757;
                    color: #ffcc00;
                }

.content {
    padding: 5px;
    margin: 0; /* Ensure no margin is applied */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    max-width: 100%;
    margin: 5px auto; /* Center the content */
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .horizontal-nav ul {
        flex-direction: column;
    }

        .horizontal-nav ul li {
            margin: 5px 0;
        }

    .content {
        padding: 10px;
    }
}

/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    font-size: 0.875rem; /* Reduced font size */
}

    .table th,
    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
    }

    .table tbody + tbody {
        border-top: 2px solid #dee2e6;
    }

    .table .table {
        background-color: #fff;
    }

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-bordered {
    border: 1px solid #dee2e6;
}

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6;
    }

.thead-dark th {
    color: black;
    background-color: darkgray;
    border-color: lightgray;
}

.spinner-image {
    width: 40px; /* Set the desired width */
    height: 30px; /* Set the desired height */
}

#loading-spinner-container {
    height: 40px; /* Set the height to match the spinner */
    display: flex;
    justify-content: center;
    align-items: center;
}

.compact-form .form-control, .compact-form .btn, .compact-form .input-group-text {
    font-size: 0.875rem; /* Smaller font size */
    padding: 0.25rem 0.5rem; /* Smaller padding */
}

.compact-form .input-group-sm > .form-control, .compact-form .input-group-sm > .input-group-append > .btn, .compact-form .input-group-sm > .input-group-prepend > .btn {
    height: calc(1.5em + 0.5rem + 2px); /* Adjust height */
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Add shadow */
    border-radius: 10px; /* Rounded corners */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* The Close Button */
.close {
    color: red; /* Red color */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: darkred; /* Darker red on hover/focus */
        text-decoration: none;
    }

.search-frame {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.data-frame {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#pagination .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin: 0 0.25rem;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    #pagination .btn img {
        width: 20px; /* Set the desired width */
        height: 20px; /* Set the desired height */
    }

    #pagination .btn:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

    #pagination .btn:hover:not(:disabled) {
        background-color: #0056b3;
        transform: scale(1.1);
    }

    #pagination .btn:active:not(:disabled) {
        background-color: #004085;
        transform: scale(1.05);
    }

    #pagination .btn span {
        margin-left: 0.5rem;
        color: white;
        font-weight: bold;
    }

.page-size-select {
    width: 80px; /* Adjust the width as needed */
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-frame, .data-frame {
        margin-bottom: 20px;
    }

        .search-frame .row, .data-frame .row {
            flex-direction: column;
        }

        .search-frame .input-group, .data-frame .input-group {
            flex-direction: column;
        }

            .search-frame .input-group input, .data-frame .input-group input {
                width: 100%;
                margin-bottom: 10px;
            }

        .search-frame .input-group-append, .data-frame .input-group-append {
            width: 100%;
            display: flex;
            justify-content: center;
        }

    #pagination {
        flex-direction: column;
        align-items: center;
    }

        #pagination .btn {
            margin-bottom: 10px;
        }

        #pagination select {
            width: 100%;
        }
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.download-icon {
    width: 30px; /* Adjust the width as needed */
    height: 30px; /* Adjust the height as needed */
}
/* site.css */

body {
    background-color: #f8f9fa;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #007bff;
    color: black;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.card-body {
    padding: 2rem;
}

.form-control {
    border-radius: 5px;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.text-danger {
    font-size: 0.875rem;
}
/* Custom styles for the create user page */
.card {
    border-radius: 10px;
}

.card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-footer {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }
.container-fluid {
    padding: 20px;
}

.card {
    border-radius: 10px;
    border: none;
}

.card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body {
    padding: 30px;
}

.form-signin .form-group {
    margin-bottom: 20px;
}

.form-signin .form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
}

.form-signin .form-check-input {
    margin-top: 0.3rem;
}

.btn-block {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #004085;
    }

.text-muted {
    color: #6c757d !important;
}

/* Container styling */
.container-fluid {
    padding: 20px;
}

/* Table styling */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6;
    }

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

/* Button styling */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0056b3;
        border-color: #004085;
    }

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

    .btn-danger:hover {
        color: #fff;
        background-color: #c82333;
        border-color: #bd2130;
    }

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-success:hover {
        color: #fff;
        background-color: #218838;
        border-color: #1e7e34;
    }

/* Modal styling */
.modal-content {
    border-radius: 0.3rem;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

/* Form styling */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }



    .modal-backdrop {
        opacity: 0.5;
    }

    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-content {
        border-radius: 0.3rem;
        border: 1px solid rgba(0,0,0,0.2);
    }
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --dark-blue: #0a2540;
    --light-blue: #f5f9ff;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --gradient-start: #0d6efd;
    --gradient-end: #0dcaf0;
    --border-radius: 0.5rem;
}

body, html {
    height: 100%;
    background-color: #f5f9ff;
}

.login-container {
    min-height: 100vh;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

@media (min-width: 992px) {
    .login-container {
        min-height: 90vh;
        max-width: 1000px;
        margin: 2rem auto;
        border-radius: var(--border-radius);
    }
}

/* Brand section styling */
.brand-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
}

    .brand-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="white" stroke-width="0.25" x="0" y="0" width="100" height="100"/></svg>');
        opacity: 0.1;
    }

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    padding: 2rem;
}

.feature-list {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.feature-text h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.875rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Login form styling */
.login-form-container {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    margin-bottom: 2rem;
}

.login-form .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

    .login-form .form-control:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        border-color: var(--primary);
    }

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: var(--secondary);
}

    .password-toggle:hover {
        color: var(--primary);
    }

.btn-login {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .forgot-password:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

.alert {
    display: flex;
    align-items: flex-start;
    border-left: 4px solid var(--danger);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-content {
    display: flex;
    align-items: flex-start;
}

.alert i {
    margin-top: 0.25rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
/* Header styles */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    z-index: 1030;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: all var(--transition-speed);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    margin-right: 2rem;
}

    .brand-logo img {
        height: 32px;
    }

.toggle-sidebar {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-right: 1rem;
}

.top-navbar {
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 100%;
}

.nav-link {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }

    .nav-link i {
        margin-right: 0.5rem;
        font-size: 1.1em;
    }

.user-menu {
    margin-left: auto;
    position: relative;
}

.user-dropdown {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--light-gray);
    border: none;
}

    .user-dropdown:hover {
        background-color: var(--border-color);
    }

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: 600;
}

.user-info {
    display: none;
    margin-right: 0.5rem;
}

.user-name {
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.dropdown-menu {
    margin-top: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

    .dropdown-item i {
        margin-right: 0.75rem;
        font-size: 1.1em;
        width: 1.25rem;
        text-align: center;
    }

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Main content area */
.main-wrapper {
    display: flex;
    flex-grow: 1;
}

.main-content {
    flex-grow: 1;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-speed);
}

/* Footer */
.app-footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Spinner overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-top: 4px solid var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive styles */
@media (min-width: 992px) {
    .user-info {
        display: block;
    }

    .main-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .toggle-sidebar {
        display: block;
    }
}

/* Mobile navigation */
.mobile-nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: auto;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1020;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

    .mobile-nav-menu.show {
        transform: translateY(0);
    }

.mobile-nav-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
}

    .mobile-nav-link i {
        margin-right: 1rem;
        font-size: 1.25rem;
        width: 1.5rem;
        text-align: center;
    }

    .mobile-nav-link:hover {
        color: var(--primary);
        /* Page layout */
        body

{
    background-color: #f5f8fa;
}

.container-fluid {
    max-width: 1600px;
    padding: 1.5rem;
}

/* Cards and containers */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
}

    .card-header h5 {
        font-weight: 600;
        margin: 0;
    }

/* Form elements */
label.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

    .btn-link:hover {
        text-decoration: underline;
    }

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 0.375rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: #0a58ca;
        border-color: #0a58ca;
    }

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: white;
    }

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover {
        background-color: #6c757d;
        color: white;
    }

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0d6efd;
}

/* Table styling */
.table {
    margin-bottom: 0;
    width: 100%;
    color: #212529;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

.table-light {
    color: #495057;
}

.table th {
    font-weight: 600;
    border-top: none;
    white-space: nowrap;
    padding: 0.75rem 1rem;
}

.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.table a {
    text-decoration: none;
}

    .table a:hover {
        text-decoration: underline;
    }

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

/* Pagination controls */
.form-select {
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Misc */
.fw-medium {
    font-weight: 500 !important;
}

.text-primary {
    color: #0d6efd !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .pagination-control {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .container-fluid {
        padding: 1rem;
    }
}

/* Ensure modal takes full screen width and height */
.modal-fullscreen .modal-dialog {
    max-width: 100vw;
    height: 100vh;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent multiple scrollbars */
}

.modal-fullscreen .modal-body {
    overflow-y: auto; /* Enable scrolling for the content */
    flex: 1; /* Allow the body to take up remaining space */
}

/* Improve table styling */
.table-responsive {
    max-height: 60vh;
    overflow-y: auto;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    color: #343a40;
}
/* Adjust table header styles */
#invoiceTable thead th {
    text-align: center;
    padding: 8px 12px; /* Reduce padding for a compact look */
    white-space: nowrap; /* Prevent text wrapping */
    font-size: 14px; /* Adjust font size for neatness */
    background-color: #f8f9fa; /* Light background for better readability */
    border-bottom: 2px solid #dee2e6; /* Add a subtle border */
}

/* Adjust table row styles */
#invoiceTable tbody tr {
    line-height: 1.2; /* Reduce line height for compact rows */
}

#invoiceTable tbody td {
    padding: 6px 10px; /* Reduce padding for cells */
    font-size: 13px; /* Adjust font size for a cleaner look */
}

/* Optional: Add hover effect for rows */
#invoiceTable tbody tr:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
}
