.vx-otp-widget {
    max-width: 380px;
    margin: 24px auto;
    border: 1px solid #E7E2D9;
    border-radius: 14px;
    padding: 24px;
    direction: rtl;
    font-family: inherit;
    background: #fff;
    box-shadow: 0 2px 10px rgba(45, 27, 78, 0.06);
}

.vx-otp-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: #FAF9F6;
    padding: 4px;
    border-radius: 10px;
}

.vx-otp-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #948C7E;
    transition: all 0.15s ease;
}

.vx-otp-tab.active {
    background: #2D1B4E;
    color: #fff;
}

.vx-otp-panel {
    display: none;
}

.vx-otp-panel.active {
    display: block;
}

.vx-otp-panel form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vx-otp-widget input {
    border: 1px solid #E7E2D9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    text-align: right;
}

.vx-otp-widget input:focus {
    outline: none;
    border-color: #3FA372;
}

.vx-otp-btn {
    background: #3FA372;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.vx-otp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vx-otp-link {
    background: none;
    border: none;
    color: #2D1B4E;
    font-size: 12.5px;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}

.vx-otp-hint {
    font-size: 12.5px;
    color: #948C7E;
    margin: 0;
}

.vx-otp-message {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
}

.vx-otp-message.success { color: #1F4A34; }
.vx-otp-message.error { color: #B3261E; }
