
/* CSS TỐI ƯU - ĐÃ FIX LỖI CĂN CHỈNH */
.google-login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', Arial, sans-serif;
}

.google-login-popup.active {
    display: flex;
}

.glp-container {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    padding: 40px 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    margin: 20px;
    animation: fadeIn 0.3s;
    text-align: center; /* Căn giữa toàn bộ nội dung */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #5f6368;
    background: none;
    border: none;
    line-height: 1;
}

.glp-logo {
    height: 40px;
    margin-bottom: 20px;
}

.glp-title {
    font-size: 24px;
    color: #202124;
    margin-bottom: 10px;
}

.glp-subtitle {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0 10px;
}

/* PHẦN INPUT ĐÃ FIX CĂN CHỈNH */
.glp-input-container {
    max-width: 350px;
    margin: 0 auto 15px;
    position: relative;
}

.glp-input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
    display: block; /* Quan trọng: fix lỗi căn lệch */
}

.glp-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px #e8f0fe;
    outline: none;
}

.glp-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin: 10px 0 20px;
}

/* PHẦN USER INFO ĐÃ FIX CĂN GIỮA */
.glp-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 25px;
    max-width: 350px;
}

.glp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.glp-email {
    font-size: 16px;
    color: #202124;
    word-break: break-all;
    padding: 0 10px;
}

/* NÚT HIỂN THỊ MẬT KHẨU */
.glp-show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
}

/* PHẦN NÚT BẤM */
.glp-actions {
    display: flex;
    justify-content: space-between;
    max-width: 350px;
    margin: 25px auto 0;
}

.glp-button {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.glp-button:hover {
    background: #1765cc;
}

.glp-secondary {
    background: none;
    color: #1a73e8;
    padding: 10px 8px;
}

/* ẨN/HIỆN MÀN HÌNH */
.glp-password-screen {
    display: none;
}

.glp-guest-notice {
    font-size: 12px;
    color: #5f6368;
    margin: 20px auto;
    max-width: 350px;
}
