.otp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.otp-form__mensaje {
    font-size: 0.95rem;
    color: var(--iv-text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.otp-form__inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.otp-form__input {
    width: 45px;
    height: 60px;
    border: none;
    border-bottom: 2px solid var(--iv-border);
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: var(--iv-text-main);
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    border-radius: 0;
    padding-bottom: 5px;
}

.otp-form__input:focus {
    border-bottom-color: var(--iv-primary);
    transform: translateY(-4px);
    color: var(--iv-primary);
}

.otp-form__reenvio {
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.otp-form__reenvio-texto {
    font-size: 0.85rem;
    color: var(--iv-text-secondary);
    font-weight: 500;
}

.otp-form__reenvio-btn {
    background: none;
    border: none;
    color: var(--iv-primary);
    font-weight: 800;
    cursor: pointer;
    padding: 0 0.25rem;
    transition: all 0.2s;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.otp-form__reenvio-btn:hover {
    color: #008cc9;
    text-decoration-color: transparent;
}

.otp-form__reenvio-texto--espera span {
    color: var(--iv-primary);
    font-weight: 800;
}

.otp-form__submit-btn {
    height: 60px;
    background-color: var(--iv-primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.15);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-form__submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.otp-form__submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-form__submit-btn:disabled[data-cargando="true"] {
    cursor: wait;
}

.otp-form__submit-btn:hover:not(:disabled) {
    background-color: #008cc9;
    box-shadow: 0 6px 16px rgba(0, 159, 227, 0.25);
    transform: translateY(-2px);
}

.otp-form__back-btn {
    background: none;
    border: none;
    color: var(--iv-text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.otp-form__spinner {
    animation: spinner-spin 0.8s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

@media (max-width: 768px) {
    .login__panel-formulario--centrado .otp-form {
        text-align: center;
    }
}