/* ===== CSS RESET & BASE STYLES ===== */
.mb2u-repair-form * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mb2u-repair-form {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    
    /* Status Colors */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0284c7;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light: #f8fafc;
    --light-border: #e2e8f0;
    --medium-border: #cbd5e1;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== PROGRESS STEPS ===== */
.mb2u-progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-border);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mb2u-step-item {
    flex: 1;
    max-width: 120px;
    position: relative;
}

.mb2u-step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-sm) var(--space-xs);
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 60px;
}

.mb2u-step-item.active .mb2u-step-content {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mb2u-step-item.completed .mb2u-step-content {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.mb2u-step-icon {
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.mb2u-step-text {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.mb2u-step-arrow {
    margin: 0 var(--space-sm);
    color: var(--medium-border);
    font-weight: bold;
    font-size: 14px;
}

/* ===== STEP CONTAINERS ===== */
.mb2u-step-container {
    background: var(--white);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
    display: none;
    animation: mb2u-fadeIn 0.3s ease;
}

.mb2u-step-container.active {
    display: block;
}

/* ===== DEVICE SELECTION DROPDOWNS ===== */
.mb2u-selection-dropdowns {
    max-width: 1000px;
    margin: 0 auto;
}

.mb2u-dropdown-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .mb2u-dropdown-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.mb2u-dropdown-group {
    position: relative;
}

.mb2u-dropdown-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 14px;
}

.mb2u-dropdown-toggle {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 15px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb2u-dropdown-toggle:hover {
    border-color: var(--primary);
}

.mb2u-dropdown-toggle.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.mb2u-dropdown-toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mb2u-dropdown-toggle::after {
    content: '⌄';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mb2u-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mb2u-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: var(--space-xs);
}

.mb2u-dropdown-menu.show {
    display: block;
}

.mb2u-dropdown-item {
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mb2u-dropdown-item:hover {
    background: var(--light);
}

.mb2u-dropdown-item.selected {
    background: var(--primary);
    color: var(--white);
}

.mb2u-dropdown-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.mb2u-dropdown-item-text {
    flex: 1;
    font-size: 14px;
}

/* ===== SELECTED DEVICE PREVIEW ===== */
.mb2u-selected-device-preview {
    background: var(--light);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    display: none;
}

.mb2u-selected-device-preview.show {
    display: block;
}

.mb2u-selected-device-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.mb2u-selected-device-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.mb2u-selected-device-details h4 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.mb2u-selected-device-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== SERVICES SELECTION - RESPONSIVE ===== */
.mb2u-services-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 1024px) {
    .mb2u-services-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .mb2u-selected-services {
        order: -1;
    }
}

.mb2u-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .mb2u-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* Service Card */
.mb2u-service-option {
    background: var(--white);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.mb2u-service-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mb2u-service-option.selected {
    border-color: var(--primary);
    background: var(--light);
    box-shadow: var(--shadow-sm);
}

.mb2u-service-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    flex: 1;
}

.mb2u-service-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--medium-border);
    border-radius: var(--radius-sm);
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.mb2u-service-option.selected .mb2u-service-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.mb2u-service-option.selected .mb2u-service-checkbox::after {
    content: '✓';
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

.mb2u-service-icon {
    width: 36px;
    height: 36px;
    background: var(--light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mb2u-service-option.selected .mb2u-service-icon {
    background: var(--primary);
    color: var(--white);
}

.mb2u-service-info {
    flex: 1;
    min-width: 0;
}

.mb2u-service-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.mb2u-service-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.mb2u-service-warranty {
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.mb2u-service-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 1px solid var(--light-border);
}

/* Service Options Container */
.mb2u-service-options-container {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px dashed var(--light-border);
    display: none;
    animation: mb2u-slideIn 0.3s ease;
}

.mb2u-options-list {
    padding: 0;
}

.mb2u-options-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.mb2u-option-item {
    padding: var(--space-sm);
    margin-bottom: var(--space-xs);
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
}

.mb2u-option-item:hover {
    border-color: var(--primary);
    background: var(--light);
}

.mb2u-option-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    margin: 0;
}

.mb2u-option-checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.mb2u-option-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.3;
}

.mb2u-option-notes {
    margin-top: var(--space-xs);
    padding-left: 26px;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== SELECTED SERVICES SIDEBAR ===== */
.mb2u-selected-services {
    background: var(--white);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: sticky;
    top: var(--space-md);
    box-shadow: var(--shadow-sm);
    max-height: 500px;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .mb2u-selected-services {
        position: static;
        max-height: none;
    }
}

.mb2u-selected-services h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-border);
}

.mb2u-selected-list {
    margin-bottom: var(--space-lg);
}

.mb2u-no-selection {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    color: var(--text-muted);
}

.mb2u-no-selection p {
    margin-bottom: var(--space-xs);
    font-size: 14px;
}

.mb2u-no-selection small {
    font-size: 12px;
}

/* Selected Items */
.mb2u-selected-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--light-border);
    gap: var(--space-sm);
}

.mb2u-selected-info {
    flex: 1;
    min-width: 0;
}

.mb2u-selected-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.mb2u-selected-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.mb2u-selected-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    margin: 2px 0;
    border-bottom: 1px dashed var(--light-border);
    gap: var(--space-sm);
}

.mb2u-selected-option-name {
    font-size: 12px;
    color: var(--text-secondary);
    flex: 1;
}

.mb2u-selected-option-price {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
    white-space: nowrap;
}

.mb2u-service-total {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--light-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Remove Buttons */
.mb2u-remove-service,
.mb2u-remove-option {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mb2u-remove-service:hover {
    background: var(--danger);
    color: var(--white);
}

.mb2u-remove-option:hover {
    background: var(--danger);
    color: var(--white);
}

/* Total Price */
.mb2u-total-price {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--light-border);
}

.mb2u-total-price strong {
    font-size: 15px;
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

#mb2u-total-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

/* ===== CUSTOMER FORM ===== */
.mb2u-customer-form {
    display: grid;
    gap: var(--space-lg);
}

.mb2u-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .mb2u-form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.mb2u-form-group {
    display: flex;
    flex-direction: column;
}

.mb2u-form-group label {
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-size: 14px;
}

.mb2u-form-control {
    padding: var(--space-md);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
}

.mb2u-form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mb2u-form-control[type="file"] {
    padding: calc(var(--space-md) - 2px);
}

/* ===== BUTTONS ===== */
.mb2u-step-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--light-border);
}

@media (max-width: 768px) {
    .mb2u-step-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

.mb2u-btn {
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-width: 120px;
}

.mb2u-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mb2u-btn-prev {
    background: var(--light);
    color: var(--text-primary);
    border: 2px solid var(--light-border);
}

.mb2u-btn-prev:hover:not(:disabled) {
    background: var(--light-border);
}

.mb2u-btn-next,
.mb2u-btn-submit {
    background: var(--primary);
    color: var(--white);
}

.mb2u-btn-next:hover:not(:disabled),
.mb2u-btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RESULTS & MESSAGES ===== */
.mb2u-result {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    display: none;
    animation: mb2u-fadeIn 0.3s ease;
}

.mb2u-result.success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
    display: block;
}

.mb2u-result.error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #991b1b;
    display: block;
}

/* ===== LOADING STATES ===== */
.mb2u-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: mb2u-spin 1s linear infinite;
}

.mb2u-loading-services {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-secondary);
}

/* ===== WARRANTY RESULTS ===== */
.mb2u-warranty-results-list {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.mb2u-order-card {
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.mb2u-status-blue { border-left-color: var(--primary); }
.mb2u-status-orange { border-left-color: var(--warning); }
.mb2u-status-green { border-left-color: var(--success); }
.mb2u-status-red { border-left-color: var(--danger); }

.mb2u-order-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.mb2u-order-info h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.mb2u-order-code {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-xs) 0;
}

.mb2u-order-device,
.mb2u-order-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 2px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes mb2u-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mb2u-slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mb2u-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 480px) {
    /* Progress Steps - Mobile */
    .mb2u-progress-steps {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .mb2u-step-item {
        max-width: 100%;
        width: 100%;
    }
    
    .mb2u-step-arrow {
        display: none;
    }
    
    /* Service Card - Mobile */
    .mb2u-service-option {
        padding: var(--space-md);
    }
    
    .mb2u-service-header {
        gap: var(--space-sm);
    }
    
    .mb2u-service-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .mb2u-service-name {
        font-size: 13px;
    }
    
    .mb2u-service-price {
        font-size: 15px;
    }
    
    /* Selected Services - Mobile */
    .mb2u-selected-services {
        padding: var(--space-md);
    }
    
    .mb2u-selected-item {
        padding: 10px 0;
    }
    
    .mb2u-selected-name {
        font-size: 12px;
    }
    
    .mb2u-selected-option-name {
        font-size: 11px;
    }
    
    /* Buttons - Mobile */
    .mb2u-btn {
        padding: var(--space-md);
        min-width: 100%;
    }
}

/* ===== TOUCH FRIENDLY ===== */
@media (hover: none) and (pointer: coarse) {
    .mb2u-service-option,
    .mb2u-option-item,
    .mb2u-dropdown-item {
        min-height: 44px;
    }
    
    .mb2u-option-checkbox {
        min-width: 20px;
        min-height: 20px;
    }
    
    .mb2u-remove-service,
    .mb2u-remove-option {
        min-width: 32px;
        min-height: 32px;
    }
    
    /* Remove hover effects on touch devices */
    .mb2u-service-option:hover,
    .mb2u-option-item:hover {
        transform: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .mb2u-step-actions,
    .mb2u-btn {
        display: none !important;
    }
    
    .mb2u-step-container {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.mb2u-hidden {
    display: none !important;
}

.mb2u-visible {
    display: block !important;
}

.mb2u-text-center {
    text-align: center;
}

.mb2u-text-right {
    text-align: right;
}

.mb2u-mb-sm {
    margin-bottom: var(--space-sm);
}

.mb2u-mb-md {
    margin-bottom: var(--space-md);
}

.mb2u-mb-lg {
    margin-bottom: var(--space-lg);
}

.mb2u-mt-sm {
    margin-top: var(--space-sm);
}

.mb2u-mt-md {
    margin-top: var(--space-md);
}

.mb2u-mt-lg {
    margin-top: var(--space-lg);
}
/* ===== REMOVE SPINNING LOADING ===== */
/* Xóa phần này nếu có */
.mb2u-loading-spinner,
.mb2u-loading-services .mb2u-loading-spinner,
.mb2u-warranty-loading .mb2u-loading,
.mb2u-services-selection .mb2u-loading-spinner {
    display: none !important;
}

/* Thay bằng loading đơn giản */
.mb2u-loading-services,
.mb2u-loading-options,
.mb2u-warranty-loading {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.mb2u-loading-services:before,
.mb2u-loading-options:before,
.mb2u-warranty-loading:before {
    content: "⏳";
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
    animation: mb2u-pulse 1.5s infinite;
}

@keyframes mb2u-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hoặc đơn giản hơn: chỉ hiện chữ */
.mb2u-loading {
    display: inline-block;
    animation: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

.mb2u-loading:before {
    content: "Đang tải...";
    font-size: 14px;
    color: #64748b;
}

/* Ẩn tất cả animation xoay */
[class*="loading"][class*="spinner"],
[class*="loading"] .mb2u-loading-spinner {
    display: none !important;
}
/* ===== FIX SERVICES LOADING ===== */
#mb2u-services-selection .mb2u-loading {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px dashed #cbd5e1;
}

#mb2u-services-selection .mb2u-loading:before {
    content: "📱 Đang tải dịch vụ...";
    display: block;
    font-size: 16px;
    color: #475569;
    margin-bottom: 10px;
}

#mb2u-services-selection .mb2u-loading-text {
    font-size: 14px;
    color: #64748b;
}

/* ===== FIX PROGRESS STEPS - DESKTOP VERSION ===== */
.mb2u-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Ngăn nội dung tràn ra ngoài */
}

/* Đường nối giữa các bước - SỬA LẠI */
.mb2u-progress-line {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 3px;
    background-color: #e2e8f0; /* Màu nền mặc định */
    z-index: 1;
    transform: translateY(-50%);
    border-radius: 2px;
    overflow: hidden; /* Đảm bảo phần fill không tràn ra ngoài */
}

/* Phần đường đã hoàn thành */
.mb2u-progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0; /* Sẽ được điều khiển bằng JavaScript hoặc inline style */
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.5s ease-in-out;
    border-radius: 2px;
}

/* Step Item - Desktop */
.mb2u-step-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    min-height: 120px; /* Đảm bảo chiều cao tối thiểu */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mb2u-step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 120px;
    min-height: 90px;
    justify-content: center;
    width: 100%; /* Đảm bảo chiều rộng đầy đủ */
    max-width: 140px; /* Giới hạn chiều rộng tối đa */
    box-sizing: border-box; /* Đảm bảo padding không làm tăng kích thước */
}

/* Step Icon - Đẹp hơn */
.mb2u-step-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Ngăn icon bị co lại */
}

/* Step Text - Đẹp hơn */
.mb2u-step-text {
    font-size: 13px !important;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.3s ease;
    margin: 0; /* Đảm bảo không có margin dư thừa */
    padding: 0 5px; /* Thêm padding nhỏ cho text */
}

/* Active Step - Desktop */
.mb2u-step-item.active .mb2u-step-content {
    border-color: #2563eb;
    background: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.mb2u-step-item.active .mb2u-step-icon {
    background: white;
    color: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mb2u-step-item.active .mb2u-step-text {
    color: white !important;
    font-weight: 700;
}

/* Completed Step - Desktop */
.mb2u-step-item.completed .mb2u-step-content {
    border-color: #059669;
    background: #059669;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.mb2u-step-item.completed .mb2u-step-icon {
    background: white;
    color: #059669;
}

.mb2u-step-item.completed .mb2u-step-text {
    color: white !important;
}

/* Step Number Indicator */
.mb2u-step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mb2u-step-item.completed .mb2u-step-number {
    background: #059669;
}

/* Remove step arrows for desktop */
.mb2u-step-arrow {
    display: none;
}

/* ===== MOBILE VERSION - CẢI THIỆN HIỂN THỊ ===== */
@media (max-width: 768px) {
    .mb2u-progress-steps {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        max-width: 100%;
        min-height: auto;
    }
    
    .mb2u-progress-line {
        display: none;
    }
    
    .mb2u-step-item {
        width: 100%;
        min-height: auto;
    }
    
    .mb2u-step-content {
        min-width: auto;
        min-height: auto;
        padding: 12px 15px;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
        width: 100%;
    }
    
    .mb2u-step-icon {
        margin-bottom: 0;
        width: 28px;
        height: 28px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .mb2u-step-text {
        font-size: 14px !important;
        white-space: normal;
        text-align: left;
        flex: 1;
        padding: 0;
    }
    
    .mb2u-step-number {
        position: static;
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    /* Active state mobile */
    .mb2u-step-item.active .mb2u-step-content {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }
}

/* ===== TABLET VERSION - CẢI THIỆN ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .mb2u-progress-steps {
        padding: 20px;
        max-width: 700px;
    }
    
    .mb2u-progress-line {
        left: 40px;
        right: 40px;
    }
    
    .mb2u-step-content {
        min-width: 100px;
        min-height: 80px;
        padding: 12px 8px;
    }
    
    .mb2u-step-text {
        font-size: 12px !important;
        white-space: normal; /* Cho phép text xuống dòng trên tablet */
        line-height: 1.2;
    }
}

/* ===== CẢI THIỆN HIỂN THỊ TRÊN MÀN HÌNH LỚN ===== */
@media (min-width: 1200px) {
    .mb2u-progress-steps {
        max-width: 900px;
        padding: 25px 20px;
    }
    
    .mb2u-progress-line {
        left: 60px;
        right: 60px;
    }
    
    .mb2u-step-content {
        min-width: 140px;
        min-height: 100px;
        padding: 18px 12px;
    }
    
    .mb2u-step-text {
        font-size: 14px !important;
    }
}
/* ===== BASIC TABLE - SIMPLE AND CLEAN ===== */

.mb2u-service-table-container {
    width: 100%;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.mb2u-service-table {
    width: 100%;
    border-collapse: collapse;
}

/* Header */
.mb2u-service-table th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    font-size: 14px;
}

/* Rows */
.mb2u-service-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: top;
}

/* Last row */
.mb2u-service-table tr:last-child td {
    border-bottom: none;
}

/* Service row */
.service-row {
    background: #f9f9f9;
    font-weight: 500;
}

/* Option row */
.option-row {
    background: white;
}

.option-row td:first-child {
    padding-left: 25px;
    position: relative;
}

.option-row td:first-child:before {
    content: "•";
    position: absolute;
    left: 12px;
    color: #666;
}

/* Column widths */
.col-name {
    width: 40%;
}

.col-desc {
    width: 35%;
    color: #666;
}

.col-price {
    width: 15%;
    text-align: right;
    font-weight: 600;
}

.col-warranty {
    width: 10%;
    text-align: center;
}

/* Price colors */
.price-service {
    color: #0066cc;
}

.price-option {
    color: #009900;
}

/* Warranty badge */
.warranty-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

/* No data */
.no-services {
    text-align: center;
    padding: 30px;
    color: #888;
    font-style: italic;
}

/* Mobile view */
@media (max-width: 768px) {
    .mb2u-service-table-container {
        overflow-x: auto;
    }
    
    .mb2u-service-table {
        min-width: 600px;
    }
    
    .mb2u-service-table th,
    .mb2u-service-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}
/* ===== SIMPLE PROGRESS STEPS - NO ANIMATED BAR ===== */

.mb2u-progress-tracker-simple {
    margin: 20px 0;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Steps container */
.mb2u-progress-steps-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Step item */
.mb2u-step-item-simple {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 2;
}

/* Step connector line - nhẹ nhàng */
.mb2u-step-connector {
    position: absolute;
    top: 15px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.mb2u-step-item-simple:last-child .mb2u-step-connector {
    display: none;
}

/* Step circle */
.mb2u-step-circle-simple {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    position: relative;
    z-index: 2;
}

/* Active step */
.mb2u-step-item-simple.active .mb2u-step-circle-simple {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Completed step */
.mb2u-step-item-simple.completed .mb2u-step-circle-simple {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.mb2u-step-item-simple.completed .mb2u-step-circle-simple:after {
    content: "✓";
    font-size: 16px;
    font-weight: bold;
}

/* Step label */
.mb2u-step-label-simple {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-top: 4px;
}

.mb2u-step-item-simple.active .mb2u-step-label-simple {
    color: #3b82f6;
    font-weight: 600;
}

.mb2u-step-item-simple.completed .mb2u-step-label-simple {
    color: #10b981;
}

/* Status summary */
.mb2u-status-summary {
    text-align: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #475569;
}

.mb2u-status-summary .status-icon {
    margin-right: 6px;
    font-size: 16px;
}

/* Alternative: Minimal steps without lines */
.mb2u-progress-minimal {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.mb2u-step-minimal {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
}

.mb2u-step-minimal-indicator {
    width: 24px;
    height: 24px;
    margin: 0 auto 6px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.mb2u-step-minimal.active .mb2u-step-minimal-indicator {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.mb2u-step-minimal.completed .mb2u-step-minimal-indicator {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.mb2u-step-minimal.completed .mb2u-step-minimal-indicator:after {
    content: "✓";
    font-size: 14px;
}

.mb2u-step-minimal-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.mb2u-step-minimal.active .mb2u-step-minimal-label {
    color: #3b82f6;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mb2u-progress-tracker-simple {
        padding: 12px;
    }
    
    .mb2u-progress-steps-simple {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .mb2u-step-item-simple {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        text-align: left;
    }
    
    .mb2u-step-connector {
        display: none;
    }
    
    .mb2u-step-circle-simple {
        margin: 0;
        flex-shrink: 0;
    }
    
    .mb2u-step-label-simple {
        margin-top: 0;
        font-size: 14px;
    }
    
    .mb2u-progress-minimal {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .mb2u-step-minimal {
        flex: none;
        width: calc(50% - 5px);
    }
}
/* ===== SERVICE TABLE - OPTIONS GROUPED WITH SERVICES ===== */

.mb2u-service-table-container {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.mb2u-service-table {
    width: 100%;
    border-collapse: collapse;
}

/* Table Header */
.mb2u-service-table thead {
    background: #4f46e5;
}

.mb2u-service-table th {
    padding: 14px 16px;
    text-align: left;
    color: black !important;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #4338ca;
}

/* Column widths */
.col-service-name {
    width: 30%;
    min-width: 200px;
}

.col-parts {
    width: 30%;
    min-width: 200px;
}

.col-price {
    width: 20%;
    min-width: 120px;
    text-align: right;
}

.col-warranty {
    width: 20%;
    min-width: 120px;
}

/* Table rows */
.mb2u-service-table tbody tr {
    border-bottom: 1px solid #eee;
}

.mb2u-service-table tbody tr:last-child {
    border-bottom: none;
}

.mb2u-service-table td {
    padding: 14px 16px;
    vertical-align: top;
    font-size: 14px;
}

/* Service group */
.service-group {
    border-bottom: 2px solid #e5e7eb;
}

/* Main service row */
.service-main-row {
    background: #f8fafc;
    font-weight: 500;
}

.service-main-row td {
    border-bottom: 1px solid #e5e7eb;
}

/* Option row */
.service-option-row {
    background: white;
}

.service-option-row td:first-child {
    padding-left: 32px;
    position: relative;
}

.service-option-row td:first-child:before {
    content: "•";
    position: absolute;
    left: 16px;
    color: #6b7280;
}

/* Last option in group */
.service-group .service-option-row:last-child td {
    border-bottom: 2px solid #e5e7eb;
}

/* Price styling */
.price-service {
    color: #3b82f6;
    font-weight: 600;
}

.price-option {
    color: #059669;
    font-weight: 600;
}

/* Warranty status */
.warranty-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.warranty-active {
    background: #d1fae5;
    color: #065f46;
}

.warranty-expired {
    background: #fee2e2;
    color: #991b1b;
}

.warranty-none {
    color: #9ca3af;
    font-style: italic;
}

/* Manual warranty info */
.warranty-info-box {
    margin-top: 20px;
    padding: 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.warranty-info-box h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

.warranty-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.warranty-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mb2u-service-table-container {
        overflow-x: auto;
    }
    
    .mb2u-service-table {
        min-width: 700px;
    }
    
    .mb2u-service-table th,
    .mb2u-service-table td {
        padding: 12px;
        font-size: 13px;
    }
}
/* ===== WARRANTY SERVICE DISPLAY ===== */
.mb2u-service-display-wrapper {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.mb2u-service-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.mb2u-service-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mb2u-service-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.mb2u-service-icon {
    font-size: 20px;
    color: #3b82f6;
    margin-top: 2px;
}

.mb2u-service-info {
    flex: 1;
}

.mb2u-service-options {
    margin-left: 32px;
    padding-left: 15px;
    border-left: 2px dashed #cbd5e1;
    margin-top: 10px;
}

.mb2u-option-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
}

.mb2u-option-item:last-child {
    border-bottom: none;
}

.mb2u-option-check {
    color: #10b981;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.mb2u-option-details {
    flex: 1;
}

.mb2u-option-name {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.mb2u-option-price {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
    margin-right: 8px;
}

.mb2u-option-warranty {
    font-size: 12px;
    color: #047857;
    background: #d1fae5;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.mb2u-option-notes {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    margin-top: 4px;
    line-height: 1.4;
}

.service-price {
    color: #3b82f6;
    font-weight: 600;
}

.service-warranty {
    color: #059669;
    font-size: 13px;
    font-weight: 500;
}

.mb2u-service-total {
    font-size: 13px;
    color: #059669;
    margin-top: 5px;
    padding-left: 32px;
}

.mb2u-grand-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #3b82f6;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb2u-total-amount {
    color: #dc2626;
    font-size: 20px;
    font-weight: 700;
}

/* Loading state */
.mb2u-loading-services {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.mb2u-no-services {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}
/* ===== SERVICE TABLE STYLES ===== */
.mb2u-service-table-container {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mb2u-service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mb2u-service-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.mb2u-service-table td {
    border-bottom: 1px solid #f1f5f9;
}

.mb2u-service-table tbody tr:hover {
    background: #f8fafc;
}

/* Service rows */
.service-row {
    background: #f8fafc;
}

/* Option rows */
.option-row td:first-child {
    border-left: 3px solid #10b981;
}

/* Warranty status */
.warranty-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.warranty-active {
    display: inline-block;
    padding: 4px 8px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.warranty-none {
    font-style: italic;
}

/* Subtotal rows */
.service-subtotal {
    background: #f0f9ff !important;
    border-top: 2px dashed #bae6fd;
}

/* Grand total row */
.grand-total {
    background: #1e293b !important;
    color: white;
}

.grand-total td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-service-table-container {
        overflow-x: auto;
    }
    
    .mb2u-service-table {
        min-width: 700px;
    }
    
    .mb2u-service-table th,
    .mb2u-service-table td {
        padding: 10px;
        font-size: 13px;
    }
}
/* Thêm vào file style.css */


/* ===== WARRANTY SIMPLE DISPLAY ===== */
.mb2u-warranty-simple-info {
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 20px;
    margin: 15px 0;
}

.mb2u-warranty-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
}

.warranty-status-icon {
    font-size: 18px;
}

.warranty-status-text {
    flex: 1;
}

.warranty-active {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.warranty-expired {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.warranty-none {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

.mb2u-warranty-details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mb2u-warranty-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mb2u-warranty-detail-row:last-child {
    border-bottom: none;
}

.mb2u-warranty-detail-row.full-width {
    flex-direction: column;
    gap: 8px;
}

.warranty-detail-label {
    min-width: 100px;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.warranty-detail-value {
    flex: 1;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-warranty-simple-info {
        padding: 15px;
    }
    
    .mb2u-warranty-detail-row {
        flex-direction: column;
        gap: 5px;
        padding: 8px 0;
    }
    
    .warranty-detail-label {
        min-width: auto;
        font-size: 13px;
    }
    
    .warranty-detail-value {
        font-size: 13px;
        padding-left: 0;
    }
    
    .mb2u-warranty-status {
        padding: 10px;
        font-size: 14px;
    }
}
/* ===== BẢO HÀNH THỦ CÔNG ===== */
.mb2u-manual-warranty {
    border-left: 5px solid #8b5cf6 !important;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.mb2u-warranty-info {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.mb2u-warranty-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
}

.warranty-active {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.warranty-expired {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.warranty-future {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

.warranty-unknown {
    background: #f3f4f6;
    border: 2px solid #9ca3af;
    color: #4b5563;
}

.mb2u-warranty-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mb2u-warranty-detail {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.detail-label {
    min-width: 140px;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.detail-value {
    flex: 1;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
}

/* Thông tin khách hàng bảo hành */
.mb2u-customer-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.mb2u-customer-info h4 {
    margin: 0 0 10px 0;
    color: #0369a1;
    font-size: 15px;
}

.mb2u-customer-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mb2u-customer-details p {
    margin: 0;
    font-size: 14px;
}

/* Thông tin sản phẩm */
.mb2u-product-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.mb2u-product-info h4 {
    margin: 0 0 10px 0;
    color: #059669;
    font-size: 15px;
}

.mb2u-product-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-warranty-info {
        padding: 15px;
    }
    
    .mb2u-warranty-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 13px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .mb2u-warranty-status {
        font-size: 14px;
        padding: 10px;
    }
}
/* Ẩn giá và bảo hành CHỈ trong cột trái (danh sách dịch vụ để chọn) */
.mb2u-services-grid .mb2u-service-price,
.mb2u-services-grid .mb2u-service-warranty  {
    display: none !important;
}
/* Tùy chọn: Ẩn luôn icon bảo hành nếu muốn */
.mb2u-services-grid .mb2u-service-warranty:before {
    display: none !important;
}
/* 2. Ẩn giá dịch vụ CỘT PHẢI (danh sách đã chọn) */
.mb2u-selected-services .mb2u-selected-price,
.mb2u-selected-services .mb2u-selected-option-price,
.mb2u-selected-services .mb2u-service-total {
    display: none !important;
}
/* 3. Ẩn chữ "Tổng dịch vụ:" */
.mb2u-service-total {
    display: none !important;
}
/* Remote Info - 2 Columns */
.mb2u-remote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.mb2u-remote-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
}

.mb2u-remote-section h4 {
    color: #1e293b;
    margin: 0 0 15px 0;
    font-size: 16px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
}

.mb2u-remote-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #cbd5e1;
}

.mb2u-remote-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.remote-icon {
    font-size: 20px;
    min-width: 30px;
}

.remote-content strong {
    color: #075985;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.remote-content p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

/* Address Box */
.mb2u-address-box {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
}

.mb2u-address-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13px;
}

.mb2u-address-item:last-child {
    margin-bottom: 0;
}

.address-icon {
    font-size: 16px;
    color: #3b82f6;
    min-width: 20px;
    margin-top: 2px;
}

.mb2u-address-item span {
    color: #334155;
}

.mb2u-address-item strong {
    color: #1e293b;
}

.mb2u-address-item small {
    color: #64748b;
    display: block;
    margin-top: 2px;
    font-size: 12px;
}

/* Note */
.mb2u-remote-note {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
    font-size: 13px;
    color: #92400e;
}

.note-icon {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-remote-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* Container chính */
.mb2u-warranty {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Phần tìm kiếm */
.mb2u-warranty-search {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.mb2u-warranty-search h2 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Ô tìm kiếm */
.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #007cba;
}

.search-box button {
    background: #007cba;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    font-size: 16px;
}

.search-box button:hover {
    background: #005a87;
}

/* Kết quả */
.warranty-results {
    min-height: 200px;
    margin: 30px 0;
}

/* Chính sách bảo hành */
.warranty-policy {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.warranty-policy h3 {
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.policy-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.policy-card h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.policy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-card li {
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.policy-card li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-warranty {
        padding: 15px;
    }
    
    .search-box {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input,
    .search-box button {
        width: 100%;
    }
    
    .warranty-policy {
        padding: 20px 15px;
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .policy-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mb2u-warranty-search {
        padding: 20px 15px;
    }
    
    .search-box button .icon {
        display: inline-block;
    }
    
    .search-box button .text {
        display: none;
    }
    
    .policy-card h4 {
        font-size: 1rem;
    }
}
/* ===== PROGRESS BAR STYLES ===== */
.mb2u-progress-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.mb2u-progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 15px;
}

.mb2u-progress-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.mb2u-step-circle {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    position: relative;
    z-index: 2;
}

.mb2u-progress-step.active .mb2u-step-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.mb2u-progress-step.completed .mb2u-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.mb2u-step-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 4px;
}

.mb2u-progress-step.active .mb2u-step-label {
    color: #3b82f6;
    font-weight: 600;
}

.mb2u-progress-step.completed .mb2u-step-label {
    color: #10b981;
}

/* Progress line */
.mb2u-progress-line {
    position: absolute;
    top: 16px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.mb2u-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #dafdf1;
    transition: width 0.3s ease;
    z-index: 1;
}

/* Status description */
.mb2u-status-description {
    text-align: center;
    padding: 10px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    font-size: 14px;
    color: #0369a1;
    margin-top: 10px;
}

/* Warranty code section */
.mb2u-warranty-code-section {
    background: #f0fdf4;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #bbf7d0;
}

.mb2u-warranty-code-section p {
    margin: 0;
    font-size: 14px;
    color: #065f46;
}

.mb2u-warranty-code-section strong {
    color: #047857;
}

/* Warranty status box */
.mb2u-warranty-status-box {
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.mb2u-warranty-status-box.active {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.mb2u-warranty-status-box.expired {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.mb2u-warranty-status-box p {
    margin: 0;
}

/* Completed info */
.mb2u-completed-info {
    background: #fef3c7;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #fbbf24;
}

.mb2u-completed-info p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
}

/* Status cancelled */
.mb2u-status-cancelled {
    background: #fee2e2;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ef4444;
    color: #991b1b;
    font-weight: 600;
    text-align: center;
}

.mb2u-status-cancelled .status-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Device info */
.mb2u-order-device-info {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.mb2u-order-device-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #475569;
}

.mb2u-order-device-info strong {
    color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
    .mb2u-progress-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .mb2u-progress-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .mb2u-step-circle {
        margin: 0;
        flex-shrink: 0;
    }
    
    .mb2u-progress-line,
    .mb2u-progress-fill {
        display: none;
    }
}
