﻿.otp-feedback {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.otp-feedback:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.otp-feedback--success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #86efac;
}

.otp-feedback--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.otp-feedback--info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.otp-feedback--loading {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}

@keyframes onAutoFillStart {
    from { opacity: 1; }
    to { opacity: 1; }
}

input[autocomplete="one-time-code"]:-webkit-autofill,
input.otp-autofill-target:-webkit-autofill {
    animation-name: onAutoFillStart;
    animation-duration: 0.01s;
}
