/* GLOBAL DARK THEME */

body{
    background:#0f172a;
    color:#e2e8f0;
    font-family:Segoe UI, Arial;
}

/* PAGE TITLES */

.title{
    font-weight:700;
    margin-bottom:25px;
}

/* DASHBOARD CARDS */

.dashboard-card,
.card-box{
    background:#1e293b;
    border-radius:12px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
}

/* TABLE CONTAINER */

.table-card{
    background:white;
    border-radius:10px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    margin-bottom:30px;
}

/* SIDEBAR */

.sidebar{
    background:#1e293b;
    color:white;
    min-height:100vh;
    padding:20px;
}

.sidebar h4{
    margin-bottom:20px;
}

.sidebar .nav-link{
    color:white;
}

.sidebar .nav-link.active{
    font-weight:600;
    color:#0ea5e9;
}

/* FACTOR ROW (SIMULATOR) */

.factor-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #334155;
}

/* SCORE PANEL */

.score-number{
    font-size:50px;
    font-weight:bold;
}

/* BUTTON */

.run-btn{
    font-weight:600;
}

/* TABLE */

.table{
    color:white;
}

.table tbody tr:hover{
    background:#334155;
}

/* PROGRESS BAR */

.progress{
    height:18px;
    border-radius:10px;
}

/* BADGES */

.badge-decision{
    font-size:16px;
    padding:8px 14px;
}

/* STATS CARDS (BULK SIMULATOR) */

.stat-card{
    background:#1e293b;
    border-radius:10px;
    padding:20px;
    text-align:center;
    box-shadow:0 0 20px rgba(0,0,0,0.4);
}

.stat-number{
    font-size:28px;
    font-weight:700;
}

/* DECISION COLORS */

.allow{
    color:#22c55e;
}

.otp{
    color:#ffc107;
}

.block{
    color:#ef4444;
}

/* ===== Simulation History Page ===== */

.table-card {
    background:#1e293b;
    border-radius:10px;
    padding:20px;
    margin-bottom:30px;
}

table th{
    color:#94a3b8;
}

table td{
    color:#e2e8f0;
}
/* 
.table-striped>tbody>tr:nth-of-type(odd){
    background-color:#334155;
}

.table-hover tbody tr:hover{
    background-color:#475569;
} */

/* Decision badges */

.badge-allow{
    background:#22c55e;
}

.badge-otp{
    background:#ffc107;
}

.badge-block{
    background:#ef4444;
}
.matrix-title{
    color:#000000;
}

.matrix-section-title{
    color:#000000;
}
/* Risk Matrix table card should be white */
.matrix-table-card {
    background: #ffffff;
    color: #000000;
}