input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 850px;
}

.card-header ul {
    background-color: #7a0404;
    width: fit-content;
    display: inline-flex;
    justify-content: space-around;
    border-radius: 50px;
}

.card-header ul li i {
    font-size: 1rem;
    color: white;
    background-color: rgba(130, 41, 41, 0.792);
    box-shadow: 1px 1px 0px 0px inset #e8b4b4;
    padding: 0.5rem;
    border-radius: 20px;
}

.card-header ul li a:hover {
    scale: 1.5;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

button {
    cursor: pointer;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: fit-content;
    max-height: 350px;
    overflow-y: auto;
    background-color: #fff;
    border: none;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 999;
}

.custom-control {
    display: flex;
    justify-content: center;
    align-items: center;
}

#customerVSelect div {
    height: 100%;
}

.custom-svg {
    background: linear-gradient(180deg, #C63333, #802121);
    border-radius: 360rem;
}

.custom-svg-yellow {
    background: linear-gradient(180deg, #ffc107, #d39e00);
    border-radius: 360rem;
}

.table td {
    vertical-align: middle;
}

.stock-variation-row {
    background-color: #f7e2c9;
    font-size: 0.9em;
    border-left: 3px solid #f0ad4e;
}

.switcher-calculate-type .switcher-input:not(:checked) ~ .switcher-indicator {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.switcher-calculate-type .switcher-input:checked ~ .switcher-indicator {
    background-color: var(--primary, #346cb0) !important;
    border-color: var(--primary, #346cb0) !important;
}

.switcher-calculate-type .switcher-label-off,
.switcher-calculate-type .switcher-label-on {
    color: #fff !important;
}

.text-blue {
    color: #007bff !important;
}

.steps {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
}

.steps ul {
    margin-bottom: 0;
    display: flex;
    align-items: stretch;
    height: 40px;
    border-radius: 999px;
}

.steps li.step {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    height: 40px;
}

.steps li.step:before {
    content: '';
    position: absolute;
    top: 50% !important;
    left: -15px !important;
    z-index: 1;
    display: block;
    height: 31px !important;
    width: 31px !important;
    border: 2px solid #ffffff !important;
    border-top-right-radius: 6px !important;
    background-color: #e6e8ed;
    transform: translateY(-50%) rotate(45deg) !important;
    transition: background-color 0.2s ease;
}

.steps li.step:first-child:before {
    display: none !important;
}

.steps li.step:hover + li.step:before {
    background-color: #dde0e7 !important;
}

.steps li.step:hover .step-trigger {
    background-color: #dde0e7 !important;
}

.steps li.step.active + li.step:before {
    background-color: #7a0404 !important;
}

.steps li.step.active .step-trigger {
    background-color: #7a0404 !important;
    color: #ffffff !important;
}

.steps li.step.active:hover + li.step:before {
    background-color: #9c3131 !important;
}

.steps li.step.active:hover .step-trigger {
    background-color: #9c3131 !important;
    color: #ffffff !important;
}

.steps .step-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    width: 100%;
    padding: 0 1rem 0 1.75rem !important;
}

.steps li.step:first-child .step-trigger {
    padding-left: 1.1rem !important;
}

.steps .step-indicator-icon {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 24px;
    margin-right: 0.35rem !important;
}

.steps .step-label-wrapper {
    height: auto;
    min-height: 24px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    vertical-align: middle;
    gap: 2px;
}

.steps .step-title {
    font-size: 0.72rem !important;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.steps .step.active .step-title {
    font-weight: 600;
    color: #ffffff;
}

[v-cloak] {
    display: none;
}

/* Shortcut Badges */
.shortcut-badge {
    font-size: 0.58rem;
    padding: 1px 3px;
    font-family: monospace, sans-serif;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 3px;
    line-height: 1.1;
    margin-top: 2px;
}

.tab-shortcut-badge {
    font-size: 0.50rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0px 3px;
    color: #6c757d;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    line-height: 1;
    display: inline-block;
    margin: 0;
}

.steps .step.active .tab-shortcut-badge {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Line Modal Footer & Buttons */
#lineModal .modal-footer {
    padding: 0.85rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

#lineModal .btn-modal-cancel {
    background-color: #6c757d;
    color: #ffffff !important;
    border: 1px solid #6c757d;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#lineModal .btn-modal-cancel:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

#lineModal .btn-modal-prepare {
    background-color: #7a0404;
    color: #ffffff !important;
    border: 1px solid #650303;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 1.5rem;
    box-shadow: 0 2px 5px rgba(122, 4, 4, 0.35);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#lineModal .btn-modal-prepare:hover {
    background-color: #920606;
    border-color: #7a0404;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(122, 4, 4, 0.45);
    text-decoration: none;
}

/* Cost Quote List Responsive Table */
.cost-quote-scroll {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: thin;
}

#costQuoteList .table thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

#costQuoteList .btn-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    vertical-align: middle;
}

#costQuoteList .btn-icon img.custom-svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 !important;
}


