/* Bulk Order Table Container */
.sm-bulk-order-grid {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Header & Badges */
.sm-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #2271b1;
}

.sm-role-badge {
    font-size: 16px;
    color: #333;
}

.sm-savings-badge {
    background: #25D366;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

/* Table Styling */
.sm-color-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.sm-color-table th {
    text-align: left;
    padding: 10px;
    background: #f1f1f1;
    color: #444;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.sm-color-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.sm-color-swatch-label {
    font-weight: 500;
    font-size: 15px;
}

.sm-color-qty-input {
    width: 90px !important;
    padding: 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 15px;
}

/* Footer & Totals */
.sm-calc-footer {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    text-align: right;
    border-top: 1px solid #eee;
}

.sm-calc-footer .sm-row {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}

/* Validation Box */
#sm-validation-error {
    color: #d63638;
    background: #fdf2f2;
    display: none;
    margin-top: 15px;
    font-weight: 500;
    border: 1px solid #d63638;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

/* MOQ Warning */
.sm-moq-notice {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ffeeba;
    display: flex;
    align-items: center;
}

/* General Utilities */
.sm-login-to-view {
    display: inline-block;
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
}

.sm-role-label {
    font-size: 0.7em;
    background: #eee;
    color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 5px;
    text-transform: uppercase;
}
