.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 7px;
    direction: ltr;
}

.otp-digit {
    width: 34px;
    height: 48px;
    padding: 0;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #F9FAFA;
    color: var(--primary);
    font-family: 'Cairo', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.otp-digit:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 68, 42, 0.12);
}

.otp-digit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.alert-success {
    padding: 13px 16px;
    border: 1.5px solid #9CC9AC;
    border-radius: 14px;
    margin-bottom: 20px;
    background: #F0F8F2;
    color: #155B32;
    font-size: 0.9rem;
    font-weight: 700;
}

.otp-cancel {
    margin-top: 18px;
    text-align: center;
    font-size: 0.87rem;
    font-weight: 700;
}

.otp-cancel button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.otp-cancel button:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
    .otp-inputs {
        gap: 5px;
    }

    .otp-digit {
        width: 28px;
        height: 44px;
        border-radius: 10px;
    }
}
