body {
    background-color: #ebf3fc;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.login-card {
    border: none;
    border-radius: 10px;
    padding: 20px;
    background: #ffffff;
}

.card-title {
    font-weight: bold;
    color: #333333;
}


.navbar-brand{
    font-weight: 500;
}

.form-container {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.separator {
    border-bottom: 1px solid #dee2e6;
    margin: 20px 0;
}

.form-group label {
    font-weight: 600;
}

.form-label {
    font-weight: bold;
}
.table td, .table th {
    padding: 0.3rem; /* Adjust the padding to reduce row height */
}


thead{
    background: #F8F9FA;
}

th{
    white-space: nowrap;
}

.part-tile{
    position:relative;
    background:white;
    border-radius:6px;
    box-shadow:0 2px 6px rgba(0,0,0,0.12);
    transition:all .15s ease;
    overflow:hidden;
}

.part-tile:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 14px rgba(0,0,0,0.18);
    position: relative;
}

.category-strip{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background:#3c8dbc;
}

.part-content{
    padding:16px;
}

.part-title{
    font-weight:600;
    font-size:15px;
    margin-bottom:6px;
}

.part-desc{
    font-size:15px;
    font-weight:700;
    color:#777;
    min-height:36px;
}

.part-category{
    font-size:12px;
    margin-top:6px;
    margin-bottom:10px;
}

.part-pricing{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    margin-bottom:8px;
}

.part-final-price{
    background:#eafaf1;
    padding:6px 8px;
    border-radius:4px;
    font-weight:600;
    color:#27ae60;
    margin-bottom:10px;
}

.part-qty-input {
    height: 30px !important;
    padding: 2px 6px !important;
}

.addPart {
    height: 30px;
    padding: 4px 10px;
}

.part-qty-input:focus,
.part-qty:focus {
    border-color: #3c8dbc;
    box-shadow: 0 0 3px rgba(60,141,188,0.5);
}

.part-card.in-cart .part-tile {
    border: 2px solid #00a65a;
    background: #f0fff4;
}

.part-card .in-cart-badge {
    display: none;
    font-size: 11px;
    margin-top: 5px;
}

.part-card.in-cart .in-cart-badge {
    display: inline-block;
}

.part-card.in-cart .part-tile {
    transition: all 0.2s ease;
}

.part-card .addPart {
    transition: all 0.2s ease;
}

.part-check {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #00a65a;
    font-size: 18px;
    display: none;
}

.part-card.in-cart .part-check {
    display: block;
}

.sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    border-right: 1px solid #ddd;
}
thead th {
    position: sticky;
    top: 0;
    z-index: 6;
    background: #f2f2f2;
}
thead .sticky-col {
    z-index: 5;
    background: #f9f9f9;
}

.table-scroll-wrapper {
    position: relative;
}

.table-scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 12px;
}

.table-scroll-top div {
    height: 1px; /* invisible but needed */
}

.custom-scroll {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
}

.js-inline-price.saving {
    border-color: orange;
    background: #fff8e1;
}

.js-inline-price.saved {
    border-color: green;
    background: #e8f5e9;
}

.js-inline-price.error {
    border-color: red;
    background: #ffebee;
}

.window-row{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-bottom:8px;
}

.window-cell{
    position:relative;
    width:55px;
    height:55px;
    border:2px solid #d9d9d9;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    border-radius:4px;
    background:#fafafa;
    transition:.2s;
    font-size:20px;
}

.window-cell:hover{
    background:#eef7ff;
    border-color:#007bff;
}

/* Configured window */
.window-cell.configured{
    background:#d9ecff;
    border-color:#5b9cff;
}

/* Configured badge */
.window-cell.configured::after{
    content:"✓";
    position:absolute;
    top:-5px;
    right:-5px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#f0ad4e;
    color:#fff;
    font-size:10px;
    font-weight:bold;
    line-height:16px;
    text-align:center;
    border:2px solid #fff;
    box-shadow:0 1px 3px rgba(0,0,0,.25);
    z-index:2;
}

/* Selected for editing */
.window-cell.editing{
    background:#007bff;
    border-color:#007bff;
    color:#fff;
}

/* Configured + currently editing */
.window-cell.configured.editing{
    background:#0056b3;
    border-color:#0056b3;
    color:#fff;
}

.table-horizontal-scroll {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 17px;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 1030;
    background: #fff;
}

.table-horizontal-scroll-inner {
    height: 1px;
}

.pricing-summary {
    background-color: #f8f9fa;
    border-top: 2px solid #adb5bd;
}

.pricing-summary th,
.pricing-summary td {
    background-color: #f8f9fa;
}

.pricing-summary .summary-label {
    font-weight: 600;
}

.pricing-summary .subtotal-row {
    border-top: 1px solid #dee2e6;
}

.pricing-summary .grand-total-row {
    border-top: 2px solid #6c757d;
    font-size: 1.05rem;
}

.pricing-summary .grand-total-row th {
    font-weight: 700;
}