html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

body {
    justify-content: center;
    align-items: center;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header i {
    font-size: 48px;
    color: #0d6efd;
}

.login-header h4 {
    margin-top: 10px;
    font-weight: normal;
}

.form-floating label {
    font-size: 14px;
    font-weight: normal;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    font-weight: normal;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

/* ✅ Sửa ở đây: tăng chiều cao hiển thị */
#loginApp {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    flex-direction: column;
}

/* ✅ Sửa ở đây: thêm padding trên và dưới */
.login-wrapper {
    width: 100%;
    max-width: 360px;
    padding: 50px 20px 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checking-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    /* = top:0; right:0; bottom:0; left:0 */
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.btn-login-method {
    background-color: #f5f5f5;
    border: none;
    border-radius: 10px;
    color: #333;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background 0.2s, transform 0.1s;
}

.btn-login-method:hover {
    background-color: #eaeaea;
}

.btn-login-method:active {
    transform: scale(0.97);
}

.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    /* căn giữa ngang */
    align-items: center;
    /* căn giữa dọc */
    z-index: 9999;
}

.qr-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    min-width: 300px;
    /* 👈 thêm dòng này */
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


#qrcode {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

[v-cloak] {
    display: none !important;
}