.login-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-height: 150px !important;
}

.login-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.login-popup-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 100px !important;
}

.login-popup.show .login-popup-content {
    transform: translateY(0);
}

.login-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.login-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.login-popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.login-popup-close:hover {
    background: #e0e0e0;
}

.login-popup-body {
    text-align: center;
}

.login-popup-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.login-methods {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 5px 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
}

.login-methods::-webkit-scrollbar {
    display: none !important;
}

.login-method {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: white !important;
    min-width: 70px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.login-method:hover {
    transform: translateY(-2px);
}

.login-method:active {
    transform: scale(0.95);
}

.login-method-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.login-method-text {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

@media (max-width: 480px) {
    .login-popup {
        padding: 0;
    }
    
    .login-popup-content {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
}
