/* SmartForms Frontend CSS */
.smartforms-wrap { max-width: 640px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.smartforms-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.sf-field-wrap { margin-bottom: 20px; }
.sf-label { display: block; font-weight: 600; font-size: 14px; color: #2d3748; margin-bottom: 6px; }
.sf-required { color: #e53e3e; margin-left: 3px; }
.sf-description { font-size: 12px; color: #718096; margin: 0 0 6px; }
.sf-input {
    width: 100%; padding: 10px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px;
    font-size: 14px; color: #2d3748; transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box; background: #fafafa;
}
.sf-input:focus { border-color: #667eea; outline: none; box-shadow: 0 0 0 3px rgba(102,126,234,.15); background: #fff; }
.sf-input.sf-error { border-color: #e53e3e; }
textarea.sf-input { resize: vertical; }
.sf-input-file { padding: 8px 0; }
.sf-choices { display: flex; flex-direction: column; gap: 8px; }
.sf-choice-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #2d3748; cursor: pointer; }
.sf-choice-label input { cursor: pointer; }
.sf-divider { border: none; border-top: 2px solid #e2e8f0; margin: 24px 0 8px; }
.sf-divider-label { font-size: 13px; font-weight: 700; color: #4a5568; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 16px; }
.sf-submit-wrap { margin-top: 24px; }
.sf-submit-btn {
    display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all .2s; letter-spacing: .02em;
}
.sf-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(102,126,234,.4); }
.sf-submit-btn:active { transform: none; }
.sf-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px dashed #c3d0f7;
}
    margin-top: 6px;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    border-top: 2px solid #667eea;
    border-bottom: none;
}
    display: block;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}
.sf-choices.sf-error { outline: 2px solid #e53e3e; border-radius: 6px; padding: 6px; }
.sf-required-field .sf-label::after { content: ' *'; color: #e53e3e; }
.sf-messages.sf-success { background: #f0fff4; border: 1.5px solid #68d391; color: #276749; }
.sf-messages.sf-error { background: #fff5f5; border: 1.5px solid #fc8181; color: #9b2c2c; }

.sf-error-msg {
    display: block;
    color: #fff;
    background: #e53e3e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 5px;
}
