/* Live Order System Frontend Styles */

.los-order-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.los-order-page h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.los-step {
    display: none;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.los-step.active {
    display: block;
}

.los-step h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Product List Styles */
.los-products-list {
    margin-bottom: 25px;
}

.los-product-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.los-product-item:last-child {
    margin-bottom: 0;
}

.product-image {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.product-details p {
    margin: 5px 0;
    color: #666;
}

.product-details .price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
}

.los-total {
    text-align: right;
    padding: 20px;
    background: #ecf0f1;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 20px;
    color: #2c3e50;
}

/* Form Styles */
.los-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[readonly] {
    background-color: #ecf0f1;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 14px;
}

.zipcode-group {
    display: flex;
    gap: 10px;
}

.zipcode-group input {
    flex: 1;
}

/* Button Styles */
.los-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.los-btn-primary {
    background: #3498db;
    color: #fff;
}

.los-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.los-btn-primary:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.los-btn:not(.los-btn-primary) {
    background: #ecf0f1;
    color: #2c3e50;
}

.los-btn:not(.los-btn-primary):hover {
    background: #d5dbdb;
}

.los-actions {
    text-align: right;
    margin-top: 30px;
}

/* Payment Info Styles */
.los-payment-info {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e1e5e9;
}

.payment-detail:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #e74c3c;
}

.payment-label {
    font-weight: 600;
    color: #2c3e50;
}

.payment-value {
    color: #2c3e50;
}

/* Error Message */
.los-error {
    background: #e74c3c;
    color: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    margin: 50px auto;
    max-width: 600px;
}

/* Loading State */
.los-loading {
    opacity: 0.6;
    pointer-events: none;
}

.los-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.los-success {
    background: #27ae60;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .los-order-page {
        padding: 15px;
    }
    
    .los-step {
        padding: 20px 15px;
    }
    
    .los-product-item {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .zipcode-group {
        flex-direction: column;
    }
    
    .los-actions {
        text-align: center;
    }
    
    .los-btn {
        width: 100%;
    }
}


