.odf-form-wrapper {
    max-width: 520px;
    margin: 30px auto;
    padding: 24px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3f7ff, #ffffff);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.odf-form-header {
    text-align: center;
    margin-bottom: 18px;
}

.odf-form-header h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2933;
}

.odf-form-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.odf-field {
    margin-bottom: 14px;
}

.odf-field-inline {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.odf-field-half {
    flex: 1 1 0;
    min-width: 140px;
}

.odf-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
}

.odf-required {
    color: #e11d48;
}

.odf-field input[type="text"],
.odf-field input[type="tel"],
.odf-field textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #ffffff;
}

.odf-field input[type="text"]:focus,
.odf-field input[type="tel"]:focus,
.odf-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59,130,246,0.2);
}

.odf-field textarea {
    resize: vertical;
    min-height: 70px;
}

.odf-otp-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.odf-btn-primary,
.odf-btn-secondary {
    border-radius: 9999px;
    border: none;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, opacity 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.odf-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.35);
    width: 100%;
}

.odf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.45);
}

.odf-btn-primary:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.odf-btn-secondary {
    background: #e5edff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding-inline: 14px;
}

.odf-btn-secondary:hover {
    background: #dbeafe;
}

.odf-btn-secondary:disabled,
.odf-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#odf_message {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    display: inline-block;
    font-size: 13px;
}

.odf-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.odf-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.odf-timer {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    color: #6b7280;
}

@media (max-width: 600px) {
    .odf-form-wrapper {
        margin: 16px 10px;
        padding: 16px 14px;
    }

    .odf-field-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .odf-btn-primary {
        width: 100%;
    }
}
