/* Card Container */
.tbwc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.tbwc-card-title {
    margin: 0 0 18px 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

/* Fields & Layout */
.tbwc-field-group {
    margin-bottom: 16px;
}

.tbwc-field-group label,
.tbwc-col label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.tbwc-subtext {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

.tbwc-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.tbwc-col {
    flex: 1;
}

/* Form Inputs */
.tbwc-card input[type="text"],
.tbwc-card input[type="number"],
.tbwc-card select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.tbwc-card input[type="text"]:focus,
.tbwc-card input[type="number"]:focus,
.tbwc-card select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Add-ons List */
.tbwc-addons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tbwc-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: background 0.2s;
}

.tbwc-addon-item:hover {
    background: #f1f5f9;
}

.tbwc-addon-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.tbwc-addon-price {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 6px;
}

.tbwc-addon-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tbwc-qty-label {
    font-size: 0.82rem;
    color: #64748b;
}

.tbwc-addon-controls input[type="number"] {
    width: 60px !important;
    text-align: center;
    padding: 6px 8px;
}

/* Alert Box */
.tbwc-alert {
    display: none;
    padding: 12px;
    border-radius: 6px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 14px;
}

/* Total Bar */
.tbwc-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 18px;
}

.tbwc-price-label {
    font-size: 1rem;
    font-weight: 600;
    color: #166534;
}

.tbwc-price-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #15803d;
}