/* Complete Enhanced Frontend Styles */

.smart-moving-service-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Language Switcher */
.smart-moving-lang-switcher {
    text-align: right;
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.lang-btn {
    padding: 5px 15px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn.active {
    color: #0073aa;
    font-weight: 700;
}

/* Location Columns */
.smart-moving-location-column {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.smart-moving-location-column h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Property Type Select */
.property-type-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.property-type-select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Floor Select */
.floor-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.floor-select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Elevator Checkbox */
.elevator-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.elevator-label:hover {
    border-color: #0073aa;
    background: #f0f7ff;
}

.elevator-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Map Container */
.smart-moving-map-container {
    position: relative;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-loading {
    color: #666;
    font-size: 16px;
}

/* Distance Display */
.smart-moving-distance-display {
    margin-top: 15px;
}

.distance-info-card {
    background: #f0f7ff;
    border: 2px solid #2271b1;
    border-radius: 6px;
    padding: 15px;
}

/* Packing Options */
.packing-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.packing-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.packing-option-label:hover {
    border-color: #0073aa;
    background: #f0f7ff;
    transform: translateX(5px);
}

.packing-option-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.packing-option-label input[type="radio"]:checked ~ .packing-text {
    font-weight: 700;
    color: #0073aa;
}

.packing-text {
    flex: 1;
    font-size: 15px;
}

.packing-price {
    font-weight: 700;
    color: #0073aa;
    font-size: 16px;
    flex-shrink: 0;
}

/* Sections */
.smart-moving-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.smart-moving-section h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Form Fields */
.smart-moving-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.smart-moving-field {
    margin-bottom: 15px;
}

.smart-moving-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.smart-moving-field input[type="text"],
.smart-moving-field input[type="email"],
.smart-moving-field input[type="tel"],
.smart-moving-field input[type="date"],
.smart-moving-field select,
.smart-moving-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.smart-moving-field input:focus,
.smart-moving-field select:focus,
.smart-moving-field textarea:focus {
    outline: none;
    border-color: #0073aa;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

/* Tabs */
.smart-moving-divider {
    height: 1px;
    background: #ddd;
    margin: 25px 0;
}

.smart-moving-tabs {
    margin-top: 20px;
}

.smart-moving-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0;
}

.smart-moving-tab-button {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    border-radius: 4px 4px 0 0;
}

.smart-moving-tab-button:hover {
    background: #e9e9e9;
    color: #333;
}

.smart-moving-tab-button.active {
    background: #fff;
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.smart-moving-tab-content {
    display: none;
}

.smart-moving-tab-content.active {
    display: block;
}

/* Inventory Items */
.smart-moving-single-items-list,
.smart-moving-inventory-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.smart-moving-inventory-item-display {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s;
}

.smart-moving-inventory-item-display:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.1);
}

.smart-moving-inventory-item-display.selected {
    border-color: #0073aa;
    background: #f0f8ff;
}

.inventory-item-header-display {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.inventory-item-header-display label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.inventory-item-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.inventory-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.inventory-item-label {
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.inventory-item-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.inventory-item-price-wrapper {
    text-align: right;
    flex-shrink: 0;
}

.inventory-item-base-price {
    font-size: 11px;
    color: #666;
    display: block;
    margin-bottom: 2px;
}

.inventory-item-price {
    font-weight: 700;
    color: #0073aa;
    font-size: 16px;
    display: block;
}

.inventory-item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.smart-moving-inventory-item-display.selected .inventory-item-quantity {
    opacity: 1;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.qty-input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
}

/* Custom Items */
.button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.button:hover {
    background: #f5f5f5;
}

.button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.smart-moving-add-custom-item {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.smart-moving-add-custom-item:hover {
    background: #005a87;
    border-color: #005a87;
}

/* Price Summary */
.smart-moving-price-summary {
    background: #f0f8ff;
    border: 2px solid #0073aa;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #d0e8f7;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total-price {
    font-size: 20px;
    font-weight: 700;
    color: #0073aa;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #0073aa;
}

/* Submit Section */
.smart-moving-submit-section {
    text-align: center;
    margin-top: 30px;
}

.smart-moving-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.smart-moving-submit-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.smart-moving-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.smart-moving-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.smart-moving-message.success {
    display: block;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.smart-moving-message.error {
    display: block;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .smart-moving-service-form {
        padding: 20px;
    }
    
    .smart-moving-row {
        grid-template-columns: 1fr;
    }
    
    .smart-moving-single-items-list,
    .smart-moving-inventory-list {
        grid-template-columns: 1fr;
    }
    
    .smart-moving-tab-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .smart-moving-tab-button {
        width: 100%;
        text-align: left;
    }
    
    .smart-moving-map-container {
        height: 300px !important;
    }
    
    .packing-option-label {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .packing-price {
        margin-top: 10px;
    }


}