

/* Lỗi đăng nhập */
.error-message {
    color: #ff4d4d;
    text-align: center;
    font-weight: bold;
}

.nsl-container .nsl-container-buttons {
    margin-top: 10px;
    width: 100% !important;
}

.gg-button-social{
    width: 100% !important;
}
#otpLoginForm, #otpVerifyForm {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #61ce700f;
    border-radius: 10px;
    box-shadow: 0 0px 5px #61ce70;
    text-align: center;
}

#otpLoginForm h2, #otpVerifyForm h2{
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
}

#otpLoginForm input, #otpVerifyForm input{
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

#requestOTP, #verifyOTP {
    width: 100%;
    padding: 12px;
    background: #1b6c2c;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#requestOTP:hover, #verifyOTP:hover {
    background: #0056b3;
}

#otpLoginForm p, #otpVerifyForm p {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

#otpVerifyForm {
    display: none;
}

#otp-inputs, #forgot-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.otp-field {
    width: 40px;
    height: 40px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-field:focus {
    border-color: #007bff;
    outline: none;
}

.user-info {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.user-avatar img {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* Điều chỉnh kích thước tối đa */
    display: block;
}

.user-name {
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.user-not-logged {
    color: red;
    font-style: italic;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#backToEmail {
            border: 1px solid #00a15d;
            padding: 5px 15px;
            background: #61ce700f;
            border-radius: 5px;
        }
        #resendOTP:disabled {
            cursor: not-allowed;
            background: #ccc;
        }

 #passwordLoginForm {
            padding: 20px;
            background: #f9f9f9;
            border-radius: 5px;
        }

        #passwordLoginForm input {
            display: block;
            width: 100%;
            margin-bottom: 10px;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        #submitLogin {
            background: #00a15d;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #toggleLoginForm {
            background: none;
            border: none;
            color: #00a15d;
            text-decoration: underline;
            cursor: pointer;
        }
