/* ==========================================
   Consultant Invoice System – Global Styles
   Built on Bootstrap 4
   Clean • Professional • HR-friendly
========================================== */

/* ---------- Base ---------- */
html, body {
    height: 100%;
}

body {
    background-color: #f4f6f9;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #2c3e50;
}

a {
    color: #0052cc;
    text-decoration: none !important;
}

a:hover {
    color: #003d99;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: #1f2d3d;
}

/* ---------- Navbar ---------- */
.navbar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 15px;
}

/* ---------- Layout ---------- */
.container {
    padding-bottom: 40px;
}

/* ---------- Cards ---------- */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.card + .card {
    margin-top: 20px;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.card-body {
    padding: 22px;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 18px;
    font-size: 14px;
}

.btn-primary {
    background-color: #0052cc;
    border-color: #0052cc;
}

.btn-primary:hover {
    background-color: #003d99;
    border-color: #003d99;
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-warning {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #fff;
}

.btn-warning:hover {
    background-color: #d68910;
    border-color: #d68910;
    color: #fff;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-light {
    border: 1px solid #ddd;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 18px;
}

label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #34495e;
}

.form-control {
    border-radius: 6px;
    height: 38px;
    font-size: 14px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #0052cc;
    box-shadow: 0 0 0 0.15rem rgba(0,82,204,0.15);
}

/* ---------- Tables ---------- */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background-color: #f1f3f6;
    font-weight: 600;
    font-size: 13px;
    border-bottom: none;
}

.table td {
    font-size: 13px;
}

.table td, .table th {
    vertical-align: middle !important;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #e6e6e6;
}

/* ---------- Alerts ---------- */
.alert {
    border-radius: 8px;
    font-size: 13px;
    padding: 12px 16px;
}

.alert-success {
    background-color: #eafaf1;
    border-color: #c6f0dc;
    color: #1e8449;
}

.alert-danger {
    background-color: #fdecea;
    border-color: #f5c6cb;
    color: #922b21;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

/* ---------- Badges ---------- */
.badge {
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 500;
    font-size: 12px;
}

/* ---------- Dashboard ---------- */
.page-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stat-card h3 {
    font-weight: 700;
    margin: 0;
}

/* ---------- Login Page ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
}

/* ---------- Utility ---------- */
.text-muted {
    font-size: 13px;
}

.shadow-sm {
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

/* ---------- Mobile Tweaks ---------- */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .table {
        font-size: 12px;
    }

    .card-body {
        padding: 18px;
    }
}
/* ---------- Login Screen ---------- */
.login-wrapper {
    min-height: 100vh;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
}

.login-logo {
    max-height: 70px;
    width: auto;
}
