
/* okACCEDO Newsletter – Frontend form */
.oan-form-wrap { margin: 20px 0; }

.oan-label {
    font-size: 15px;
    margin: 0 0 12px;
    font-weight: 500;
    color: currentColor;
}

.oan-row {
    display: flex;
    max-width: 520px;
}

.oan-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: #333;
    min-width: 0;
}
.oan-input:focus { border-color: #e94560; box-shadow: 0 0 0 3px rgba(233,69,96,.12); }

.oan-btn {
    padding: 12px 22px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.oan-btn:hover:not(:disabled) { background: #c0392b; }
.oan-btn:disabled { opacity: .7; cursor: wait; }

/* Spinner */
.oan-btn__spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: oan-spin .6s linear infinite;
}
.oan-btn.oan-loading .oan-btn__spinner { display: block; }
.oan-btn.oan-loading .oan-btn__text   { opacity: .6; }

@keyframes oan-spin { to { transform: rotate(360deg); } }

/* Messages */
.oan-msg {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    max-width: 520px;
}
.oan-msg--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.oan-msg--error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.oan-msg--info    { background: #cce5ff; color: #004085; border-left: 4px solid #2196f3; }

/* Privacy note */
.oan-privacy { font-size: 12px; color: #888; margin: 10px 0 0; max-width: 520px; }
.oan-privacy a { color: #888; }

/* Done state */
.oan-form-wrap.oan-done .oan-form { display: none; }

@media (max-width: 480px) {
    .oan-row { flex-direction: column; }
    .oan-input { border-right: 1px solid #ccc; border-radius: 6px 6px 0 0; border-bottom: none; }
    .oan-btn   { border-radius: 0 0 6px 6px; justify-content: center; }
}
