.wmiso-form-container {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.wmiso-rows-container {
    margin-bottom: 20px;
}

.wmiso-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.wmiso-field {
    flex: 1;
    min-width: 120px;
}

.wmiso-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.wmiso-field select,
.wmiso-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wmiso-remove-btn {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 20px;
    margin-top: 24px; /* Align with inputs */
    line-height: 1;
}

.wmiso-remove-btn:hover {
    color: #cc0000;
}

.wmiso-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.wmiso-add-row-btn {
    background-color: #f0f0f1;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.wmiso-add-row-btn:hover {
    background-color: #e0e0e0;
}

.wmiso-add-to-cart-btn {
    background-color: #007cba; /* WordPress/WooCommerce blue */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}

.wmiso-add-to-cart-btn:hover {
    background-color: #006ba1;
}

.wmiso-add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.wmiso-totals {
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    text-align: right;
}

/* Response styles */
.wmiso-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}
.wmiso-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.wmiso-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .wmiso-row {
        flex-direction: column;
        align-items: stretch;
    }
    .wmiso-remove-btn {
        margin-top: 10px;
        align-self: flex-end;
    }
}
