/* ============================================================
   FUTURASOLUTIONS — Shared dark theme styles
   ============================================================ */

body {
    font-family: "Share Tech Mono", sans-serif;
    font-weight: 200;
    background-color: #030d17;
    color: white;
}

/* ---- Cards ---- */
.dashboard-card {
    background: linear-gradient(180deg, #0d1727, #09111c);
    border: 1px solid #22334b;
    border-radius: 12px;
    box-shadow:
        inset 0 0 20px rgba(255,255,255,0.02),
        0 0 12px rgba(0,0,0,0.45);
}

/* ---- Tables ---- */
.table { background-color: #355a8e13; padding: 10px; border: none; }
.table td, .table th, .table tr {
    vertical-align: middle;
    font-size: 12px;
    font-weight: 200;
    color: white !important;
    padding: 10px;
    border: none;
}
.table tr:hover { background-color: #d0f9ff46; }
.digit { color: #78a8ff !important; }

/* ---- Typography helpers ---- */
.title-small {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ba7b8;
    letter-spacing: 1px;
}
.kpi-value   { font-size: 42px; font-weight: 700; }
.section-title { font-size: 20px; font-weight: 300; margin-bottom: 15px; }
.metric-number { font-size: 24px; font-weight: 700; }
.rating { font-size: 52px; font-weight: 300; color: #78a8ff; }

/* ---- Score colours ---- */
.score-green  { color: #44d26a; }
.score-yellow { color: #ffbe33; }
.score-red    { color: #ff4c4c; }

/* ---- Score box ---- */
.score-box {
    border: 1px solid #33465f;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-height: 170px;
    background: #0b1524;
}
.score-box h2 { font-size: 36px; font-weight: 700; }

/* ---- Progress ---- */
.progress { height: 18px; background: #1b2a3f; }
.progress-bar { font-size: 11px; font-weight: 300; }

/* ---- Workflow ---- */
.workflow-box {
    border: 1px solid #39506d;
    border-radius: 10px;
    padding: 15px;
    background: #0b1524;
    min-width: 170px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.workflow-arrow { font-size: 32px; color: #5f6f85; }

/* ---- Misc ---- */
.badge-score { background: rgba(47,133,225,0.75); }
.rated { color: #1e7e34; font-weight: 300; }
.sidebar { min-height: 100vh; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    body { overflow-x: hidden; }
    .container-fluid { padding: 15px !important; }
    h3 { font-size: 22px !important; }
    h6 { font-size: 14px !important; line-height: 1.5; }
    .section-title { font-size: 15px !important; text-align: center; }
    .dashboard-card { margin-bottom: 20px; }
    .kpi-value { font-size: 28px !important; }
    .title-small { font-size: 13px !important; }
    .workflow-box { width: 100%; margin-bottom: 15px; text-align: center; }
    .workflow-arrow { display: none; }
    .table { font-size: 12px; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .score-box { padding: 12px; }
    .metric-number { font-size: 18px; }
    ul { padding-left: 18px; }
    .btn { width: 100%; margin-top: 5px; }
    .modal-dialog { margin: 10px; }
}

@media (max-width: 576px) {
    .row { margin-left: 0 !important; margin-right: 0 !important; }
    h3 { font-size: 19px !important; }
    h6 { font-size: 12px !important; }
    .dashboard-card { padding: 15px !important; }
    .kpi-value { font-size: 24px !important; }
    .rating { font-size: 32px !important; }
    .workflow-box { font-size: 13px; }
    .progress { height: 10px; }
}
