.orion-budget-form {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.orion-budget-form-inner {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.orion-form-row {
    margin-bottom: 18px;
}

.orion-form-user-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .orion-form-user-row {
        grid-template-columns: 1fr;
    }
}

.orion-form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #1e293b;
}

.orion-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.orion-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.orion-input::placeholder {
    color: #94a3b8;
}

select.orion-input {
    cursor: pointer;
}

textarea.orion-input {
    resize: vertical;
    min-height: 80px;
}

.orion-conditional-field {
    padding-left: 12px;
    border-left: 3px solid #3b82f6;
    background: #f0f7ff;
    border-radius: 0 6px 6px 0;
    padding: 12px 12px 12px 15px;
    margin-left: 2px;
}

.orion-form-submit-row {
    margin-top: 24px;
    margin-bottom: 0;
}

.orion-btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.orion-btn-submit:hover {
    background: #2563eb;
}

.orion-btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.orion-form-messages {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.orion-form-messages.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.orion-form-messages.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.orion-form-messages .orion-budget-code {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    display: block;
    margin: 8px 0;
}
