/* CCA Mailing List — Frontend */

.cca-ml-form-wrap {
    max-width: 560px;
    margin: 2rem auto;
    padding: 0;
}

.cca-ml-form-inner {
    background: #f8f9fa;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    padding: 28px 28px 24px;
}

.cca-ml-heading {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
}

.cca-ml-desc {
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.5;
}

.cca-ml-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cca-ml-input {
    flex: 1 1 180px;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
}

.cca-ml-input:focus {
    border-color: #1a5276;
    box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.15);
}

.cca-ml-btn {
    flex: 0 0 auto;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #1a5276;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.15s;
}

.cca-ml-btn:hover {
    background: #154360;
}

.cca-ml-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Honeypot — hidden from humans */
.cca-ml-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Response message */
.cca-ml-msg {
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 0.92rem;
    border-radius: 5px;
    line-height: 1.4;
}

.cca-ml-msg--success {
    background: #e8f5e9;
    color: #2d7d46;
    border: 1px solid #c8e6c9;
}

.cca-ml-msg--error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 480px) {
    .cca-ml-form-inner {
        padding: 20px 18px;
    }
    .cca-ml-fields {
        flex-direction: column;
    }
    .cca-ml-input,
    .cca-ml-btn {
        flex: 1 1 100%;
    }
}
