/* ============================================================
   Alerte Retour en Stock — Styles front
   @author RFDEV
   ============================================================ */

.ars-alert-block {
    margin-top: 16px;
    border: 1px solid #e0c8c8;
    border-radius: 6px;
    background-color: #fff5f5;
    padding: 0;
    overflow: hidden;
}

.ars-inner {
    padding: 16px 20px;
}

.ars-title {
    font-size: 1rem;
    font-weight: 600;
    color: #c0392b;
    margin: 0 0 6px;
}

.ars-icon {
    font-style: normal;
    margin-right: 6px;
}

.ars-desc {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Input + bouton côte à côte */
.ars-input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ars-email-input {
    flex: 1 1 200px;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.ars-email-input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.ars-submit-btn {
    height: 40px;
    padding: 0 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: #c0392b;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.ars-submit-btn:hover:not(:disabled) {
    background-color: #a93226;
}

.ars-submit-btn:disabled {
    opacity: 0.65;
    cursor: default;
}

/* Messages de retour */
.ars-message {
    margin: 10px 0 0;
    font-size: 0.875rem;
    min-height: 1.2em;
}

.ars-message--success {
    color: #27ae60;
    font-weight: 600;
}

.ars-message--error {
    color: #c0392b;
}

/* Responsive */
@media (max-width: 480px) {
    .ars-input-group {
        flex-direction: column;
    }

    .ars-submit-btn {
        width: 100%;
    }
}
