body {
    background-color: #f8fafc;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: #0f172a;
    color: #fff;
    min-height: 100vh;
}

.sidebar-brand {
    padding: 20px;
    background-color: #111827;
    text-align: center;
}

.sidebar-brand h4 {
    margin: 0;
    font-weight: 600;
}

.sidebar-nav .nav-link {
    color: #cbd5f5;
    padding: 12px 22px;
    font-size: 15px;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background-color: #1e293b;
    color: #2563eb;
}

/* Topbar */
.topbar {
    height: 60px;
    background-color: #ffffff;
    color: #c92a2a;
}

/* Page Content */
.page-content {
    min-height: calc(100vh - 120px);
}

/* Footer */
.footer {
    background-color: #e5e7eb;
}

/* Cards */
.info-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.info-card h6 {
    color: #64748b;
    margin-bottom: 6px;
}


/* =========================
   Login Page Styles
========================= */

.login-body {
    background-color: #f8fafc;
}

/* Left Panel */
.login-left {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
}

.login-left-content {
    padding: 80px;
}

.login-left-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.login-left-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Login Card */
.login-card {
    background: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.login-card h3 {
    font-weight: 600;
}

.login-card .form-label {
    font-size: 14px;
    color: #374151;
}

.login-card .form-control {
    padding: 10px 14px;
    border-radius: 10px;
}

/* Button override */
.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}


/* Datatable buttons inputs css */
.dataTables_filter input {
    border-radius: 10px;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
}

.dataTables_length select {
    border-radius: 8px;
    /* padding: 4px 8px; */
}

.dataTables_wrapper .btn {
    border-radius: 8px;
    margin-bottom: 5px;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
}



#invoiceTable {
    width: 100% !important;
    /* border-collapse: collapse; */
}

#invoiceTable th,
#invoiceTable td {
    white-space: nowrap;
    font-size: 15px;
    padding: 8px 10px;
    box-sizing: border-box;
}

#invoiceTable tbody td {
    font-weight: 500; /* NOT bold */
}

.invoice-table th,
.invoice-table td {
    border: 1px solid #dee2e6;
}



