/* Moventis Belt Selector - Modern Side by Side Layout */

.mbs-calculator {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #2d3748;
    max-width: 1100px;
    margin: 30px auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 3px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.mbs-calculator * {
    box-sizing: border-box;
}

/* Inner Container */
.mbs-inner {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

/* Title */
.mbs-title-row {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 30px;
    text-align: center;
}

.mbs-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Main Content - Side by Side */
.mbs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

/* Sections */
.mbs-section {
    padding: 0;
}

/* Section Headers */
.mbs-section-header {
    padding: 14px 24px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mbs-section-header svg {
    width: 18px;
    height: 18px;
}

.mbs-inputs-section .mbs-section-header {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.mbs-outputs-section .mbs-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Tables */
.mbs-table {
    width: 100%;
    border-collapse: collapse;
}

.mbs-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.mbs-table tr:hover {
    background: #fafbfc;
}

.mbs-table tr:last-child {
    border-bottom: none;
}

.mbs-label-cell {
    width: 50%;
    padding: 14px 20px;
    font-weight: 500;
    color: #4a5568;
    font-size: 13px;
}

.mbs-input-cell {
    padding: 10px 16px;
}

.mbs-value-cell {
    padding: 14px 20px;
    color: #5a67d8;
    font-weight: 600;
    font-size: 14px;
}

/* Dropdowns */
.mbs-calculator select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #4a5568;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s;
}

.mbs-calculator select:hover {
    border-color: #667eea;
}

.mbs-calculator select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Output Sections Divider */
.mbs-inputs-section {
    border-right: 1px solid #f0f0f0;
}

/* Special Output Cells */
.mbs-note-cell {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%) !important;
    color: #856404 !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    line-height: 1.5;
    border-radius: 0;
}

.mbs-recommendation-cell {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%) !important;
    color: #0c5460 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Output Value Styling */
.mbs-outputs-section .mbs-value-cell {
    position: relative;
}

.mbs-outputs-section tr:first-child .mbs-value-cell {
    color: #38a169;
    font-size: 16px;
    font-weight: 700;
}

/* Action Buttons */
.mbs-buttons {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e2e8f0;
}

.mbs-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.mbs-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* WhatsApp Button */
.mbs-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.mbs-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* Call Button */
.mbs-btn-call {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mbs-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Quote/Teklif Button */
.mbs-btn-quote {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.mbs-btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 800px) {
    .mbs-content {
        grid-template-columns: 1fr;
    }
    
    .mbs-inputs-section {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mbs-calculator {
        margin: 15px;
        font-size: 13px;
    }
    
    .mbs-label-cell,
    .mbs-input-cell,
    .mbs-value-cell {
        padding: 12px 16px;
    }
    
    .mbs-buttons {
        flex-direction: column;
    }
    
    .mbs-btn {
        padding: 14px 16px;
    }
}

@media (max-width: 500px) {
    .mbs-main-title {
        font-size: 16px;
    }
    
    .mbs-label-cell {
        width: 45%;
        font-size: 12px;
    }
    
    .mbs-calculator select {
        padding: 8px 30px 8px 10px;
        font-size: 12px;
    }
}
