.popup-button {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.popup-button:hover {
    background-color: #3367d6;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1;
}

.overlay.active {
    display: block;
}

.login-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.login-container.active {
    display: flex;
}

.login-left {
    flex: 1;
    padding: 40px;
}

.login-right {
    flex: 1;
    background-color: #f8f9fe;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

h1 {
    font-size: 28px;
    margin-bottom: 30px;
}

.tab-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 0;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #4285f4;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4285f4;
}

.info-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    background-color: #f5f6fa;
    border-radius: 8px;
    font-size: 16px;
}

.next-btn {
    width: 100%;
    padding: 15px;
    background-color: #f5f6fa;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.forget-pwd {
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 30px;
}

.other-methods {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.qr-section {
    text-align: center;
}

.qr-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.app-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.app-name span {
    font-weight: bold;
}

.scan-text {
    color: #666;
    font-size: 14px;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background-color: #f5f6fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    gap: 5px;
}

.country-code img {
    width: 20px;
    height: 15px;
}

.phone-input {
    flex: 1;
    border: none;
    background: none;
    padding: 15px;
    font-size: 16px;
}

.verification-container {
    position: relative;
    margin-bottom: 20px;
}

.verification-input {
    width: 100%;
    padding: 15px;
    padding-right: 150px;
    border: none;
    background-color: #f5f6fa;
    border-radius: 8px;
    font-size: 16px;
}

.send-code-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #4285f4;
    cursor: pointer;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background-color: #f5f6fa;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}