.android-sms-otp-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    font-family: inherit;
    box-sizing: border-box;
}

.android-sms-otp-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
}

.android-sms-otp-container p {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.otp-step {
    display: none;
}

.otp-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.otp-input-group {
    margin-bottom: 20px;
}

.otp-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.android-sms-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 16px;
    color: #2d3748;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.android-sms-input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.otp-boxes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 8px;
}

.otp-box {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    color: #2d3748;
    background-color: #fff;
    transition: border-color 0.2s;
    padding: 0;
}

.otp-box:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.otp-btn {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #3182ce;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
}

.otp-btn:hover {
    background-color: #2b6cb0;
}

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

.otp-btn-link {
    background: none;
    border: none;
    color: #3182ce;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    width: 100%;
    margin-top: 10px;
    transition: color 0.2s;
}

.otp-btn-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

.otp-error {
    color: #e53e3e;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    min-height: 20px;
    text-align: center;
}

.otp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

#otp-timer {
    color: #718096;
}

.hidden {
    display: none !important;
}

/* Spinner */
.otp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
