:root {
    --color-1: #44475B;
    --color-2: #666;
    --color-3: #999;
    --border-color-1: #e9e9eb;
    --border-color-2: #ccc;
    --border-color-3: #eee;
    --bg-color-1: #e3e3e3;
    --bg-color-2: #fff;
    --bg-color-3: #f5f5f5;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 120%;
    background-color: #111811;
    color: #fff;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: inherit;
}
.header{
    border-bottom: 1px solid #1a291a9e;
    padding: 15px 0;
}
.container {
    max-width: 1440px;
}
.sc-fs-10 {
    font-size: 10px !important;
}
.sc-fs-12 {
    font-size: 12px !important;
}
.sc-fs-14 {
    font-size: 14px !important;
}
.sc-fs-16 {
    font-size: 16px !important;
}
.sc-fs-18 {
    font-size: 18px !important;
}
.sc-fs-20 {
    font-size: 20px !important;
}
.sc-fs-22 {
    font-size: 22px !important;
}
.sc-fs-24 {
    font-size: 24px !important;
}
.sc-card {
    border: 1px solid #243324;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #1a291a;
    /* box-shadow: 0 0 20px 25px rgba(0, 0, 0, 0.1); */
}
.sc-table {
    width: 100%;
}
@media (max-width: 992px) {
    .sc-fs-14-sm {
        font-size: 14px !important;
    }
    .sc-fs-12-sm {
        font-size: 12px !important;
    }
    .sc-card {
        padding: 8px;
    }
}




/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a291a 0%, #407840 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
    
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
    
#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #1a291a 0%, #407840 100%);
}
    
#backToTop:active {
    transform: translateY(-2px);
}
    
@media screen and (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
    
/* Progress Indicator - Bottom Left */
#progressIndicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #1a291a 0%, #407840 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 350px;
}
    
#progressIndicator.show {
    opacity: 1;
    visibility: visible;
}
    
#progressIndicator .progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
    
#progressIndicator .progress-title {
    font-weight: bold;
    font-size: 14px;
}
    
#progressIndicator .progress-counter {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
}
    
#progressIndicator .progress-sector {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
    
#progressIndicator .progress-sector .spinner-border {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-right: 8px;
}
    
#progressIndicator .progress-bar-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    height: 6px;
    overflow: hidden;
}
    
#progressIndicator .progress-bar-fill {
    background: white;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}
    
@media screen and (max-width: 768px) {
    #progressIndicator {
        left: 10px;
        bottom: 20px;
        min-width: 250px;
        max-width: calc(100% - 20px);
    }
}

.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active{
    background-color: #1a291a !important;
    border-color: #243324 !important;
    padding-left: 20px;
    padding-right: 20px;
}

.sc-scroll {
    max-height: 395px; 
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}
.sc-scroll::-webkit-scrollbar {
    width: 12px;
}
.sc-scroll::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}
.sc-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.25));
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.sc-scroll::-webkit-scrollbar-thumb:hover {
    transform: scale(1.03);
}
.sc-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.25) transparent;
}
/* 
.sc-bg-hb-success {
    background-color: #d9f7e9;
    color: #0a7a3e;
}

.sc-bg-hs-danger {
    background-color: #fde2e1;
    color: #b31212;
}

.sc-bg-b-success {
    background-color: #e7fbe7;
    color: #117a2e;
}

.sc-bg-s-danger {
    background-color: #ffe6e6;
    color: #b32020;
}

.sc-bg-m-danger {
    background-color: #fff4d6;
    color: #b26a00;
} */

.stock-detail-section .table>:not(caption)>*>* {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #366436;
}

.stock-detail-section thead {
    background: #111811;
}

.form-select:focus {
    box-shadow: none;
}