body.app-bg {
    background-color: #f4f6f9;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Login */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
}

.login-card {
    width: 420px;
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.app-logo {
    width: 90px;
    height: auto;
}

/* Navbar */

.app-navbar {
    background: linear-gradient(90deg, #0f4c81, #1363a1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-logo {
    width: 125px;
    height: auto;
}

/* Cards */

.card {
    border: none;
    border-radius: 14px;
}

.card-body {
    padding: 28px;
}

/* Table */

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f0f4f8;
    color: #1f2937;
    font-weight: 600;
}

.table td,
.table th {
    vertical-align: middle;
}

.table tfoot th {
    background-color: #f8fafc;
    font-size: 15px;
}

/* Inputs */

.form-control {
    border-radius: 8px;
    height: 42px;
    border: 1px solid #d1d5db;
}

.form-control:focus {
    border-color: #1363a1;
    box-shadow: 0 0 0 0.15rem rgba(19,99,161,0.2);
}

/* Buttons */

.btn {
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 500;
}

.btn-primary {
    background-color: #1363a1;
    border-color: #1363a1;
}

.btn-primary:hover {
    background-color: #0f4c81;
    border-color: #0f4c81;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-warning {
    color: #212529;
}

/* Alerts */

.alert {
    border-radius: 10px;
}

/* Success */

.success-logo {
    width: 90px;
    height: auto;
}

/* Responsive */

@media (max-width: 768px) {

    .card-body {
        padding: 18px;
    }

    .table {
        font-size: 14px;
    }

    .btn {
        width: 100%;
    }

}
/* Footer */

.app-footer {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    margin-top: 40px;
    color: #6b7280;
    font-size: 14px;
}

.app-footer strong {
    color: #0f4c81;
    font-weight: 600;
}

.footer-icon {
    color: #2563eb;
    margin-right: 6px;
}
.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.hello-text {
    font-weight: 500;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.admin-badge {
    background: #facc15;
    color: #111827;
}

.finance-badge {
    background: #dbeafe;
    color: #1e40af;
}
.help-float-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background-color: #0f4c81;
    color: white;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 1050;
    cursor: pointer;
}

.help-float-btn:hover {
    background-color: #1363a1;
}

.help-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.help-list li {
    margin-bottom: 10px;
}
/* Forecast workflow status */

.forecast-status-card {
    min-height: 58px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.forecast-status-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.forecast-status-description {
    margin-top: 4px;
    margin-left: 18px;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #5f6872;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
}

/* Open */

.status-open {
    background-color: #eef5ff;
    border-color: #b9d5ff;
}

.status-open .forecast-status-heading {
    color: #084298;
}

.status-open .status-dot {
    background-color: #0d6efd;
}

/* Draft */

.status-draft {
    background-color: #fff8e1;
    border-color: #ffe08a;
}

.status-draft .forecast-status-heading {
    color: #805b00;
}

.status-draft .status-dot {
    background-color: #f0ad00;
}

/* Reopened */

.status-reopened {
    background-color: #eef9fc;
    border-color: #9fdfed;
}

.status-reopened .forecast-status-heading {
    color: #087990;
}

.status-reopened .status-dot {
    background-color: #0dcaf0;
}

/* Submitted */

.status-submitted {
    background-color: #edf8f1;
    border-color: #a9d8b8;
}

.status-submitted .forecast-status-heading {
    color: #146c43;
}

.status-submitted .status-dot {
    background-color: #198754;
}

/* Default */

.status-default {
    background-color: #f3f4f6;
    border-color: #d7dce1;
}

.status-default .forecast-status-heading {
    color: #495057;
}

.status-default .status-dot {
    background-color: #6c757d;
}