.simple-order-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-notices {
    margin-bottom: 20px;
}

.order-notice {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.order-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.product-list-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}

.product-search-box {
    flex-grow: 1;
    max-width: 300px;
}

#product-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-item {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-image {
    width: 120px;
    flex-shrink: 0;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-details {
    flex-grow: 1;
    padding: 15px;
}

.product-title {
    margin: 0 0 5px;
    font-size: 10px;
    color: #333;
}

.product-price {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.product-excerpt {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

.product-actions {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-left: 1px solid #eee;
    justify-content: center;
}

.quantity-input {
    margin-bottom: 10px;
}

.product-qty {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.add-to-order-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.add-to-order-btn:hover {
    background: #2980b9;
}

.selected-products-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.selected-products-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 20px;
}

.selected-products-list {
    min-height: 50px;
}

.selected-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.selected-product-info {
    display: flex;
    align-items: center;
}

.selected-product-image {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

.selected-product-image img {
    max-width: 100%;
    height: auto;
}

.remove-product-btn {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.customer-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.customer-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    min-height: 100px;
}

.submit-order-btn {
    background: #27ae60;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.submit-order-btn:hover {
    background: #219653;
}

.submit-order-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.no-products,
.no-selected {
    color: #7f8c8d;
    text-align: center;
    font-style: italic;
    padding: 20px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .products-list {
        grid-template-columns: 1fr;
    }
    
    .product-item {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: 150px;
    }
    
    .product-actions {
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .quantity-input {
        margin-bottom: 0;
    }
}