/* BSP Manager – Custom Styles */

:root {
    --bsp-orange: #E8501A;
    --bsp-orange-light: #FFF0EB;
    --bsp-dark: #1C2233;
}

/* ---- NAVBAR ---- */
.bsp-navbar {
    background-color: var(--bsp-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.bsp-navbar .nav-link.active {
    color: var(--bsp-orange) !important;
    font-weight: 600;
}
.text-orange { color: var(--bsp-orange) !important; }

/* ---- BUTTONS ---- */
.btn-orange {
    background-color: var(--bsp-orange);
    color: #fff;
    border: none;
}
.btn-orange:hover, .btn-orange:focus {
    background-color: #c8431a;
    color: #fff;
}
.btn-outline-orange {
    color: var(--bsp-orange);
    border-color: var(--bsp-orange);
    background: transparent;
}
.btn-outline-orange:hover {
    background-color: var(--bsp-orange);
    color: #fff;
}
.bg-orange { background-color: var(--bsp-orange) !important; }

/* ---- MODULE CARDS ---- */
.module-card {
    transition: transform 0.15s, box-shadow 0.15s;
    border-radius: 12px !important;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}
.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-orange-soft  { background-color: var(--bsp-orange-light); }
.bg-blue-soft    { background-color: #EBF3FF; }
.bg-green-soft   { background-color: #EAFAF1; }
.bg-purple-soft  { background-color: #F3EEFF; }
.text-purple     { color: #7B2FBE !important; }

/* ---- CARDS ---- */
.card {
    border-radius: 10px !important;
}
.card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 0.75rem 1rem;
}

/* ---- TABLES ---- */
.table thead th {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
}
.table td { vertical-align: middle; }

/* ---- FORM CONTROLS ---- */
.form-control:focus, .form-select:focus {
    border-color: var(--bsp-orange);
    box-shadow: 0 0 0 0.2rem rgba(232, 80, 26, 0.15);
}
.form-check-input:checked {
    background-color: var(--bsp-orange);
    border-color: var(--bsp-orange);
}

/* ---- BADGE ---- */
.badge.bg-orange {
    background-color: var(--bsp-orange) !important;
    color: #fff;
}

/* ---- PACKAGE TABLE ---- */
#packageTable input[type="number"] { width: 100%; min-width: 55px; }
#packageTable input[readonly] { background-color: #f8f9fa; color: #6c757d; }

/* ---- MONO FONT ---- */
.fw-mono { font-family: 'Courier New', monospace; font-size: 0.88rem; }

/* ---- STEP BADGES ---- */
.card-header .badge {
    font-size: 0.8rem;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }
