/* EFD Careers Application Form */

.efd-app-form {
    max-width: 720px;
    margin: 0 auto 3em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.efd-app-section {
    margin-bottom: 2em;
    padding: 1.5em;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.efd-app-section h2 {
    font-size: 1.15em;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #dc2626;
}

.efd-app-row {
    display: flex;
    gap: 1em;
}
.efd-app-row-3 {
    display: flex;
    gap: 1em;
}
.efd-app-row > .efd-app-field {
    flex: 1;
}
.efd-app-row-3 > .efd-app-field {
    flex: 2;
}
.efd-app-row-3 > .efd-app-field-sm {
    flex: 1;
}

.efd-app-field {
    margin-bottom: 1em;
}

.efd-app-field label {
    display: block;
    font-size: 0.875em;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.35em;
}

.efd-req {
    color: #dc2626;
}

.efd-app-field input[type="text"],
.efd-app-field input[type="email"],
.efd-app-field input[type="tel"],
.efd-app-field textarea {
    width: 100%;
    padding: 0.6em 0.75em;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95em;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.efd-app-field input:focus,
.efd-app-field textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.efd-app-field textarea {
    resize: vertical;
}

/* Radio group */
.efd-app-radio-group {
    display: flex;
    gap: 1.5em;
}

.efd-app-radio {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.95em;
    color: #334155;
    cursor: pointer;
}

.efd-app-radio input[type="radio"] {
    accent-color: #dc2626;
}

/* Checkboxes */
.efd-app-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    margin-top: 0.5em;
}

.efd-app-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9em;
    color: #334155;
    cursor: pointer;
}

.efd-app-checkboxes input[type="checkbox"] {
    accent-color: #dc2626;
    width: 16px;
    height: 16px;
}

/* Honeypot — always hidden */
.efd-app-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Submit */
.efd-app-submit {
    text-align: center;
    margin-top: 1em;
}

.efd-app-submit button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 0.75em 2.5em;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.efd-app-submit button:hover {
    background: #b91c1c;
}

.efd-app-submit button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Messages */
.efd-app-message {
    margin-top: 1em;
    padding: 1em;
    border-radius: 6px;
    font-size: 0.95em;
    text-align: center;
}

.efd-app-message--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.efd-app-message--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 640px) {
    .efd-app-row,
    .efd-app-row-3 {
        flex-direction: column;
        gap: 0;
    }
    .efd-app-section {
        padding: 1em;
    }
    .efd-app-radio-group {
        flex-direction: column;
        gap: 0.5em;
    }
}
