/* Main Container */
.vuba-calculator {
    max-width: 100%;
    margin: 30px auto;
}

.vuba-inputs {
    float: left;
    width: calc(100% - 400px);
}

.vuba-calculator .vuba-inputs > h2 {
    font-size: 24px;
}

.vuba-results {
    float: left;
    width: 340px;
    position: sticky;
    top: 20px;
    margin-left: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .vuba-results {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 30px;
    }

    .vuba-inputs {
        width: 100%;
    }

    .depth-options {
        flex-wrap: wrap;
    }
}

/* Typography */
.vuba-calculator h2 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 30px;
}

.vuba-label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #000;
    font-weight: 400;
}

/* Inputs */
.vuba-input-group {
    margin-bottom: 30px;
}

.vuba-input,
.vuba-select {
    display: block;
    width: 100%;
    padding: 0px 15px !important;
    height: 40px !important;
    border: 0px !important;
    -webkit-box-shadow: inset 0px 0px 0px 1px #fff;
    box-shadow: inset 0px 0px 0px 1px #fff;
    font-size: 12px !important;
    color: #000 !important;
    border-radius: 0px !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    outline: none;
}

.vuba-input:focus,
.vuba-select:focus {
    -webkit-box-shadow: inset 0px 0px 0px 1px #000;
    box-shadow: inset 0px 0px 0px 1px #000;
}

/* Radio Buttons/Cards for Depth */
.depth-options {
    display: flex;
    gap: 1rem;
}

.depth-option {
    flex: 1;
    cursor: pointer;
}

.depth-option input {
    display: none;
}

.depth-card {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #fff;
    text-align: center;
    transition: all 0.2s;
}

.depth-option input:checked+.depth-card {
    border-color: #000;
    background-color: #fff;
    color: #000;
}

.depth-option.vuba-resin-static {
    cursor: default;
}

.depth-option.vuba-resin-static .depth-card {
    border-color: #000;
}

/* Checkbox Cards */
.vuba-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.vuba-checkbox-card input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #111;
    width: 18px;
    height: 18px;
}

.vuba-checkbox-content {
    display: flex;
    flex-direction: column;
}

.vuba-checkbox-title {
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.vuba-checkbox-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}


/* Results Sidebar */
.vuba-results {
    background: #fff;
    padding: 40px 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.result-item:last-child {
    border-bottom: none;
}

.result-total {
    margin: 30px 0px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

#vuba-total {
    font-weight: 700;
    color: #ff3333;
}

.vuba-stock-notice {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #444;
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #f6f6f6;
    border-left: 3px solid #111;
}

/* Buttons */
.vuba-btn {
    width: 100%;
    padding: 1rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: opacity 0.2s;
}

.vuba-btn:hover {
    opacity: 0.9;
}

.vuba-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Quote List Styling */
.vuba-quote-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vuba-quote-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.vuba-quote-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.vuba-quote-info {
    flex: 1;
}

.vuba-quote-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.vuba-quote-title {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    line-height: 20px;
}

.vuba-quote-badge {
    font-size: 12px;
    background: #ff3333;
    color: #fff;
    padding: 2px 5px;
    font-weight: 500;
    margin-bottom: 10px;
    white-space: nowrap;
}

.vuba-quote-meta {
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.vuba-quote-meta span:nth-of-type(2) {
    font-weight: 700;
}

/* Choices.js — searchable color select (compact, centered, aligned widths) */
.vuba-calculator .choices {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.35;
    width: 100%;
    max-width: 100%;
}

.vuba-calculator .choices__inner {
    display: flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 8px 36px 8px 10px !important;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    line-height: 1.35 !important;
    box-sizing: border-box;
}

.vuba-calculator .choices__list--single {
    padding: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
}

.vuba-calculator .choices__list--single .choices__item {
    padding: 0 !important;
    line-height: 1.35 !important;
}

.vuba-calculator .choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 8px !important;
    padding-top: 8px !important;
}

.vuba-calculator .choices__placeholder {
    opacity: 0.65;
}

.vuba-calculator .choices.is-focused .choices__inner,
.vuba-calculator .choices.is-open .choices__inner {
    border-color: #000;
}

.vuba-calculator .choices__list--dropdown {
    border-radius: 0;
    border-color: #000;
    z-index: 30;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100%;
    left: 0 !important;
    right: 0;
    box-sizing: border-box;
}

.vuba-calculator .choices__list--dropdown .choices__list {
    box-sizing: border-box;
}

.vuba-calculator .choices__list--dropdown .choices__input {
    border-bottom: 1px solid #eee;
    padding: 8px 10px;
    margin-bottom: 2px;
}

.vuba-calculator .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #f5f5f5;
}