/* ANP Form Builder – Frontend form styles */

.anp-fb-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.anp-fb-form .anp-fb-field {
    margin-bottom: 18px;
}

.anp-fb-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.anp-fb-required { color: #e74c3c; margin-left: 3px; }

.anp-fb-form input[type="text"],
.anp-fb-form input[type="email"],
.anp-fb-form input[type="tel"],
.anp-fb-form input[type="number"],
.anp-fb-form input[type="date"],
.anp-fb-form select,
.anp-fb-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color .2s;
    box-sizing: border-box;
    font-family: inherit;
}

.anp-fb-form input:focus,
.anp-fb-form select:focus,
.anp-fb-form textarea:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.anp-fb-form textarea { resize: vertical; min-height: 100px; }

.anp-fb-options { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.anp-fb-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.anp-fb-option input { width: auto; }

.anp-fb-heading h3 { margin: 8px 0 4px; }
.anp-fb-divider hr { border: none; border-top: 1px solid #eee; }

.anp-fb-submit-wrap { margin-top: 24px; }

.anp-fb-submit {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}

.anp-fb-submit:hover { background: #a93226; }
.anp-fb-submit:disabled { opacity: .6; cursor: not-allowed; }

.anp-fb-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.anp-fb-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.anp-fb-message.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
