/* ==================================================
   Nuclear Fancy Pants Edition™ -- NUCLEAR+++
   File: /home/ploi/automarketer-ai.com/public/wp-content/plugins/automarketer-ai/assets/css/amai-comment-form.css
   Description: Frontend comment form styles
   Last Edited: 2026-05-15
   ================================================== */

.amai-comment-form-wrap {
    margin: 48px 0 32px;
    padding: 32px;
    background: #fff;
    border: 1.5px solid #E7DDD5;
    border-radius: 16px;
    font-family: 'DM Sans', sans-serif;
}

.amai-comment-form-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 24px;
    padding: 0;
}

.amai-comment-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.amai-cf-row {
    display: flex;
    gap: 16px;
}

.amai-cf-row--two .amai-cf-field {
    flex: 1;
}

.amai-cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.amai-cf-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.amai-cf-required {
    color: #D97757;
}

.amai-cf-input,
.amai-cf-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #D1C5BC;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: #1a1a1a;
    background: #FAFAF9;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.amai-cf-input:focus,
.amai-cf-textarea:focus {
    outline: none;
    border-color: #D97757;
    background: #fff;
}

.amai-cf-textarea {
    resize: vertical;
    min-height: 120px;
}

.amai-cf-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.amai-cf-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.amai-cf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    background: #D97757;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.amai-cf-submit:hover {
    background: #c4653e;
}

.amai-cf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.amai-cf-notice {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
}

.amai-cf-notice--success {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
    display: block;
}

.amai-cf-notice--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
    display: block;
}

@media (max-width: 600px) {
    .amai-cf-row--two {
        flex-direction: column;
    }

    .amai-comment-form-wrap {
        padding: 20px;
    }
}